summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 21fcd1b)
raw | patch | inline | side by side (parent: 21fcd1b)
author | Christian Biesinger <cbiesinger@web.de> | |
Sat, 11 Feb 2006 15:44:11 +0000 (16:44 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 12 Feb 2006 01:59:38 +0000 (17:59 -0800) |
The absolute path (with the leading slash) breaks SVN importing,
because it then looks for /trunk/... instead of /svn/trunk/...
(in my case, the repository URL was https://servername/svn/)
Signed-off-by: Christian Biesinger <cbiesinger@web.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
because it then looks for /trunk/... instead of /svn/trunk/...
(in my case, the repository URL was https://servername/svn/)
Signed-off-by: Christian Biesinger <cbiesinger@web.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-svnimport.perl | patch | blob | history |
diff --git a/git-svnimport.perl b/git-svnimport.perl
index b6799d81ee36f041ddf3d6233d3f2fa005fea174..f17d5a27c82a31b82f066540ed40c83fc66cf91b 100755 (executable)
--- a/git-svnimport.perl
+++ b/git-svnimport.perl
die $res->status_line." at $url\n";
}
} else {
- $name = $svn->file("/$svnpath",$rev);
+ $name = $svn->file("$svnpath",$rev);
return undef unless defined $name;
}