Changing username after installation?

Matthias's Avatar

Matthias

29 Jul, 2011 02:51 PM

How can I change my default username for commits after the installation?

  1. Support Staff 1 Posted by jason on 03 Oct, 2011 01:06 AM

    jason's Avatar

    For some reason I was not cced on this... I thought I was always cced on support questions and so I wasn't actually checking the tender questions... So sorry for the really really later reply.

    To fix this problem, simply open ~/Library/Application Support/MacHg/hgrc in a text editor and change the line

    [ui]
    username = Jason Harris <[email blocked]>
    

    or whatever to something else. Or you can change this in your ~/.hgrc file if you have one. Or you can change this in each repositories .hg/hgrc file to change this on a repository by repository basis... See some of the Mercurial helps tutorials for details if you need to or re-raise the question and I will answer in more detail.

    Cheers,
    Jas

  2. jason closed this discussion on 03 Oct, 2011 01:06 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac