Skip to content

Commit

Permalink
Use a relative path for SVN importing
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christian Biesinger authored and Junio C Hamano committed Feb 12, 2006
1 parent 21fcd1b commit 7bbdeaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-svnimport.perl
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ ($$$)
die $res->status_line." at $url\n";
}
} else {
$name = $svn->file("/$svnpath",$rev);
$name = $svn->file("$svnpath",$rev);
return undef unless defined $name;
}

Expand Down

0 comments on commit 7bbdeaa

Please sign in to comment.