summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 08359b0)
raw | patch | inline | side by side (parent: 08359b0)
author | Kevin Ballard <kevin@sb.org> | |
Wed, 9 Jan 2008 06:37:20 +0000 (01:37 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 9 Jan 2008 22:56:49 +0000 (14:56 -0800) |
prop_walk adds a leading / to all subdirectory paths. Unfortunately
this causes a problem when the remote repo lives in a subdirectory itself,
as the leading / causes subsequent PROPFIND calls to be executed on
the wrong path. Trimming the / before calling the PROPFIND fixes this problem.
Signed-off-by: Kevin Ballard <kevin@sb.org>
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
this causes a problem when the remote repo lives in a subdirectory itself,
as the leading / causes subsequent PROPFIND calls to be executed on
the wrong path. Trimming the / before calling the PROPFIND fixes this problem.
Signed-off-by: Kevin Ballard <kevin@sb.org>
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-svn.perl | patch | blob | history |
diff --git a/git-svn.perl b/git-svn.perl
index 3308fe1e3f86b5e96c3af66e6cd092a7e9d50980..d5316eb6da3f94df82bdb8a73a81a1f63f117390 100755 (executable)
--- a/git-svn.perl
+++ b/git-svn.perl
sub prop_walk {
my ($self, $path, $rev, $sub) = @_;
+ $path =~ s#^/##;
my ($dirent, undef, $props) = $self->ra->get_dir($path, $rev);
$path =~ s#^/*#/#g;
my $p = $path;