git-svn: correctly access repos when only given partial read permissions
authorEric Wong <normalperson@yhbt.net>
Sat, 25 Nov 2006 06:38:17 +0000 (22:38 -0800)
committerJunio C Hamano <junkio@cox.net>
Sat, 25 Nov 2006 07:16:58 +0000 (23:16 -0800)
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>
No differences found