summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2718ff0)
raw | patch | inline | side by side (parent: 2718ff0)
author | Eric Wong <normalperson@yhbt.net> | |
Wed, 5 Jul 2006 12:14:00 +0000 (05:14 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 5 Jul 2006 23:17:47 +0000 (16:17 -0700) |
Thanks to Santi <sbejar@gmail.com> for the bug report and explanation:
> /path/to/repository/project/file
> /path/to/repository/project-2/file
<...>
> you end up with a project with the following files:
>
> file
> -2/file
Signed-off-by: Eric Wong <normalperson@yhbt.net>
> /path/to/repository/project/file
> /path/to/repository/project-2/file
<...>
> you end up with a project with the following files:
>
> file
> -2/file
Signed-off-by: Eric Wong <normalperson@yhbt.net>
contrib/git-svn/git-svn.perl | patch | blob | history |
index 1e19aa19b2930aa21008e5547858a821de666c67..8bc4188e03376e04cb412bcafa01c97a29042d4a 100755 (executable)
sub libsvn_get_file {
my ($gui, $f, $rev) = @_;
my $p = $f;
- return unless ($p =~ s#^\Q$SVN_PATH\E/?##);
+ return unless ($p =~ s#^\Q$SVN_PATH\E/##);
my ($hash, $pid, $in, $out);
my $pool = SVN::Pool->new;