git-svn: correctly access repos when only given partial read permissions
commit747fa12cef73b6ca04fffaddaad7326cf546cdea
authorEric Wong <normalperson@yhbt.net>
Sat, 25 Nov 2006 06:38:17 +0000 (24 22:38 -0800)
committerJunio C Hamano <junkio@cox.net>
Sat, 25 Nov 2006 07:16:58 +0000 (24 23:16 -0800)
treeebe8720800fe6d696c1b9fce1ad8159876284aee
parent67affd5173da059ca60aab7896985331acacd9b4
git-svn: correctly access repos when only given partial read permissions

Sometimes users are given only read access to a subtree inside a
repository, and git-svn could not read log information (and thus
fetch commits) when connecting a session to the root of the
repository.  We now start an SVN::Ra session with the full URL
of what we're tracking, and not the repository root as before.

This change was made much easier with a cleanup of
repo_path_split() usage as well as improving the accounting of
authentication batons.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-svn.perl