Unable to find hgrc file

720 Views Asked by At

I am trying to set up my username and password for mercurial. The answers to previous questions says to add the following lines in the .hgrc file

[ui]
username = MY_USER_NAME
password = MY_PASSWORD

However I am unable to find this file, I only see .hg file in my main directory.

1

There are 1 best solutions below

1
On

On my windows machine I have a mercurial.ini file in c:\users\my_user_name

On my mac, I have a .hgrc file in my home directory.