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.