Hoi,
I'm trying hg pull
from my private repo at Bitbucket.org
in my local repo on my windows machine
Due to the proxy server of the company that requires Windows authentication.
C: \ path \ to \ repo> hg pull
Authorization Required http realm: Bitbucket.org HTTP
user:
after entering the Bitbucket credentials, I get:
search for changes
no changes found
But writing a password in Mercurial.ini is obviously a serious security issue (besides having to update this file every month because of our password policies).
Is it possible to let Mercurial request proxy credentials?
Or save these credentials in a more secure way?
Edit:
I tried with the same settings and SSH, but I got this:
C: \ path \ to \ repo> hg clone ssh: //hg@bitbucket.org/ME/repo/
"C: \ Program Files \ TortoiseHg \ TortoisePlink.exe" -ssh -2 hg@bitbucket.org "hg -R ME / repo / serve -stdio"
abort: no suitable answer from remote hg!
And the dialog: "PuTTY Fatal Error - Network error: Connection timed out"
Edit2:
This question arose because Subversion handled this situation correctly:
In the Subversion servers file, I also specify the proxy host and port, and Subversion automatically sends me its Windows authentication. I do not need to enter and record my credentials anywhere when you check the source from the Internet through a proxy server, for example,
C: \ workingdir> svn checkout http://okarito.googlecode.com/svn/trunk/ okarito-read-only
... Issued revision 5.
Thanks in advance! Yang
bitbucket svn mercurial proxy
jan
source share