_Mercurial Configuration File

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

If you are on OSX or Windows, you will probably need to add the file because it does not exist at all. The file should be at the following location:

  • UNIX-based systems: ~/.hgrc
  • OSX: ~/.hgrc
  • Windows XP: C:\Documents and Settings\MY_NAME\mercurial.ini
  • Windows 7: C:\Users\MY_NAME\mercurial.ini

Add your name, email address and preferred text editor to the configuration file, so that the file contains at least the content shown below:

[ui]
; editor used to enter commit logs, etc.  Most text editors will work.
editor = notepad
username = MY_FIRST_NAME MY_LAST_NAME <MY_NAME@example.com>
Last modified on Sep 7, 2011

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.