How to save username and password with Mercurial?

Posted by Satoru.Logic on Stack Overflow See other posts from Stack Overflow or by Satoru.Logic
Published on 2010-04-06T11:28:26Z Indexed on 2010/04/06 11:33 UTC
Read the original article Hit count: 161

Filed under:
|

Hi, all.

I used mercurial in a personal project, and I have been typing my username and password everytime I want to push something up to the server.

I have tried to add the following in the .hgrc file in my home dir, but it seems to be ignored at all.

[ui]
username = MY_USER_NAME
password = MY_PASSWORD

Please teach me how to do this in the right way, thanks in advance.

© Stack Overflow or respective owner

Related posts about mercurial

Related posts about hgrc