Package: git-core
Version: 1:1.5.6.2-1
Severity: normal
Tags: patch

git-svnimport.perl (git-core from testing or unstable), with libsvn1
1.5.0dfsg1-4 fails with:

/tmp/buildd/subversion-1.5.0dfsg1/subversion/libsvn_ra/ra_loader.c:973: 
svn_ra_get_log: Assertion `*path != '/'' failed.

The patch below fixes the problem.  Upstream is already fixed:
http://repo.or.cz/w/git.git?a=commitdiff;h=e8a43a13;hp=eb72a514

See also:
http://svn.haxx.se/dev/archive-2008-01/0425.shtml

--- /usr/share/doc/git-core/contrib/examples/git-svnimport.perl 2008-07-06 
17:21:39.000000000 -0700
+++ git-svnimport.perl  2008-07-26 12:58:17.000000000 -0700
@@ -933,7 +933,7 @@
        $to_rev = $from_rev + $repack_after;
        $to_rev = $opt_l if $opt_l < $to_rev;
        print "Fetching from $from_rev to $to_rev ...\n" if $opt_v;
-       $svn->{'svn'}->get_log("/",$from_rev,$to_rev,0,1,1,\&commit_all);
+       $svn->{'svn'}->get_log("",$from_rev,$to_rev,0,1,1,\&commit_all);
        my $pid = fork();
        die "Fork: $!\n" unless defined $pid;
        unless($pid) {



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to