summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8832919)
raw | patch | inline | side by side (parent: 8832919)
author | Eric Wong <normalperson@yhbt.net> | |
Mon, 27 Nov 2006 21:20:53 +0000 (13:20 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 27 Nov 2006 21:55:49 +0000 (13:55 -0800) |
This allows users to use HTTP proxy information (among other settings)
from ~/.subversion/servers and ~/.subversion/config
--config-dir (as before) may be passed to git-svn to override the
default choice of '~/.subversion' for the configuration directory.
Thanks to tko on #git for pointing this out.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
from ~/.subversion/servers and ~/.subversion/config
--config-dir (as before) may be passed to git-svn to override the
default choice of '~/.subversion' for the configuration directory.
Thanks to tko on #git for pointing this out.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-svn.perl | patch | blob | history |
diff --git a/git-svn.perl b/git-svn.perl
index de4e74a60d58500d175eeb15968e1579a9874c60..d5d9c49fd6c06ceb20bb057f6d3ad2e99414a69f 100755 (executable)
--- a/git-svn.perl
+++ b/git-svn.perl
SVN::Client::get_username_prompt_provider(
\&_username_prompt, 2),
]);
+ my $config = SVN::Core::config_get_config($_config_dir);
my $ra = SVN::Ra->new(url => $url, auth => $baton,
+ config => $config,
pool => SVN::Pool->new,
auth_provider_callbacks => $callbacks);
$ra->{svn_path} = $url;
sub libsvn_dup_ra {
my ($ra) = @_;
- SVN::Ra->new(map { $_ => $ra->{$_} }
- qw/url auth auth_provider_callbacks repos_root svn_path/);
+ SVN::Ra->new(map { $_ => $ra->{$_} } qw/config url
+ auth auth_provider_callbacks repos_root svn_path/);
}
sub libsvn_get_file {