在家裏,這完美的作品。我現在另一臺計算機上(使用Cygwin的)和Hg推不會提示輸入用戶名/密碼:如何讓hg在cygwin/windows上提示輸入我的HTTP驗證用戶名/密碼?
[email protected] /cygdrive/d/repos/upthescala/viewprotect
$ hg push https://viewprotect.googlecode.com/hg/
pushing to https://viewprotect.googlecode.com/hg/
searching for changes
abort: http authorization required
這裏是我的〜/ .hgrc的內容:
[http_proxy]
host=someproxy:8080
[ui]
username = My Name <myemail>
謝謝提前任何建議!
注意:這似乎是一個cygwin問題。當我從Windows提示符(cmd.exe的)嘗試,它按預期工作:
D:\repos\upthescala\viewprotect>hg push https://viewprotect.googlecode.com/hg/
pushing to https://viewprotect.googlecode.com/hg/
searching for changes
http authorization required
realm: Google Code Mercurial Repository
user: myemailaddress
password: *********
remote: Success.
- LES
當然,我封鎖了真正的密碼! (這是谷歌爲源代碼庫生成的瘋狂的神祕密碼 - 我不是那麼密集:) – les2 2010-06-30 17:57:48
lol @「這是一個可怕的密碼,你應該想出比八顆星更好的東西。」 – HighCommander4 2012-09-05 01:42:19
Thanks @ HighCommander4我知道有人會得到它。 :) – 2012-09-05 14:10:18