@matheusbsbs / matheus-bagliano / commits / 7bbdeaa969
Fork 0

Use a relative path for SVN importing

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>

Christian Biesinger committed Feb 11, 2006 at 16:44 UTC 7bbdeaa969794edd67cd4a1ed09b9a057b6af4c3
1 file changed +1 -1
git-svnimport.perl
+1 -1
@@ -318,7 +318,7 @@ sub get_file($$$) {
318 die $res->status_line." at $url\n";
319 }
320 } else {
321 - $name = $svn->file("/$svnpath",$rev);
321 + $name = $svn->file("$svnpath",$rev);
322 return undef unless defined $name;
323 }
324