aboutsummaryrefslogtreecommitdiff
path: root/var.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-11-24 22:38:17 -0800
committerJunio C Hamano <junkio@cox.net>2006-11-24 23:16:58 -0800
commit747fa12cef73b6ca04fffaddaad7326cf546cdea (patch)
treeebe8720800fe6d696c1b9fce1ad8159876284aee /var.c
parent67affd5173da059ca60aab7896985331acacd9b4 (diff)
downloadgit-747fa12cef73b6ca04fffaddaad7326cf546cdea.tar.gz
git-747fa12cef73b6ca04fffaddaad7326cf546cdea.tar.xz
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>
Diffstat (limited to 'var.c')
0 files changed, 0 insertions, 0 deletions