Skip to content

Commit

Permalink
git-svn: allow SVN:: lib users to track the root of the repository (a…
Browse files Browse the repository at this point in the history
…gain)

I broke this again in 747fa12.

Thanks to merlyn for pointing this out to me on IRC.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Eric Wong authored and Junio C Hamano committed Nov 26, 2006
1 parent f64d7fd commit efe4631
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions git-svn.perl
Original file line number Diff line number Diff line change
Expand Up @@ -2919,8 +2919,12 @@ sub libsvn_fetch {
my $p = $SVN->{svn_path};
foreach my $f (keys %$paths) {
my $m = $paths->{$f}->action();
$f =~ s#^/\Q$p\E/##;
next if $f =~ m#^/#;
if (length $p) {
$f =~ s#^/\Q$p\E/##;
next if $f =~ m#^/#;
} else {
$f =~ s#^/##;
}
if ($m =~ /^[DR]$/) {
print "\t$m\t$f\n" unless $_q;
process_rm($gui, $last_commit, $f);
Expand Down

0 comments on commit efe4631

Please sign in to comment.