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>
This commit is contained in:

committed by
Junio C Hamano

parent
21fcd1bdea
commit
7bbdeaa969
@ -318,7 +318,7 @@ sub get_file($$$) {
|
|||||||
die $res->status_line." at $url\n";
|
die $res->status_line." at $url\n";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$name = $svn->file("/$svnpath",$rev);
|
$name = $svn->file("$svnpath",$rev);
|
||||||
return undef unless defined $name;
|
return undef unless defined $name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user