|
MercurialFAQ
Frequently asked questions about Mercurial.
Why do I get "HTTP Error 405: Method Not Allowed" from the Mercurial client?$ hg push pushing to http://... searching for changes abort: HTTP Error 405: Method Not Allowed You must push over https rather than http, e.g. hg push https://MYREPO.googlecode.com/hg. If you clone via https initially, then a plain hg push will work. How can I avoid typing my password in for each hg push?You can enter a default push URL in your hgrc configuration file, and include the username and password in the URL. The Mercurial FAQ has an entry on this. If you do this, make sure your hgrc isn't readable by others! Why isn't my username/password accepted?If you enter your username as part of the URL, you have to encode the "@" sign as "%40" to avoid confusing Mercurial. If you're on windows, % is an escape character in the command prompt, so you have to encode the "@" sign as "%%40". The above instructions are only relevant to non-gmail users; gmail users can use the username part of their email address, the part preceding the "@" sign, as their Google Code username. |
Sign in to add a comment
Why am I getting an Authorization failed when trying to push to mercurial via https? I am using my gmail username and pw
fccoelho, you need to use the generated password googlecode provides you, not your gmail password. you're googlecode password is under your profile on the settings tab.
Can anyone tell me where can I request that my mercurial repository is reset to a clean state (without any checkins)? I've made a mistake in importing the repository and I'd like to make it right. Thanks!
@padcom:
navigate to: http://code.google.com/p/<YOUR_PROJECT>/source/browse/
at the bottom of that page, you will see this sentence: You can reset this repository so that hg push can be used to upload from a different repository.
Click the "reset this repository" bit, answer an trivial question, and voila.
Why do I get this error when pushing through https: 'abort: error: software caused connection abort'?
>>Comment by TongShen?.Martin, Sep 13, 2009 >>Why do I get this error when pushing through https: 'abort: error: software caused connection abort'?
I have same error using Vectrace Mercurial Eclipse.