On Fri, Apr 18, 2008 at 7:59 PM, Jeroen Janssen
<jeroen....@gmail.com> wrote:
> I was wondering where to specify that git svn should use a http proxy
> for accessing http based svn repositories.
Personally I have no experience with this situation, but IIRC, git-svn
is a Perl script that calls the Perl bindings for Subversion for
network access. Therefore it should use the Subversion-style proxy
definitions [1]. Since msysgit uses msys, it may not be under the
Windows area, but Unix area (${HOME}/.subversion). Please report what
is the behavior.
> I have used the 'native' svn through a proxy server, so it should be
> possible.
> I just don't know exactly where to specify this in the msysGit
> environment.
There are many ways to specify http proxy settings for git commands. I
know of env vars http_proxy and no_proxy because of curl. There is
also config http.proxy, config remote.<name>.proxy, and core.gitproxy.
However, I do not believe they apply to git svn as explained above.
References:
[1] http://subversion.tigris.org/faq.html#proxy
Best regards,
Clifford Caoile
Adding proxy information in the [global] section in
$HOME/.subversion/servers fixed the issue.
Although I still have some problems with a https repository, I was
able to git svn clone a http repository through the proxy server.
Best regards,
Jeroen Janssen
Thank you for confirming this information. Cheers (^_^)/
If I may make a (possibly unrelated or unneeded) suggestion: Perhaps
instead of directly cloning a remote svn repo via git svn, one could
try cloning the remote svn repo to a local svn repo using svnsync (in
Subversion 1.4) first, then git svn the local repo. This may improve
performance. However, I am unsure if this will work when attempting to
push back upstream to the remote svn repo, so it could be useful only
for read-only scenarios.
Just an untested thought. :-]
Best regards,
Clifford Caoile