Mericural "no username supplied" error on Mac

Posted by theDuncs on Stack Overflow See other posts from Stack Overflow or by theDuncs
Published on 2012-09-11T15:30:55Z Indexed on 2012/09/11 15:38 UTC
Read the original article Hit count: 145

Filed under:
|
|

I've just installed Mercurial on my Mountain Lion Max (10.8) and on my first commit I'm getting the error:

abort: no username supplied (see "hg help config")

I've seen a load of answers which suggest I need to create or copy a file form a certain location and paste it into another location and add my username and email to the document.

If that is the right thing to do:

  • Where is the file I need to copy (or what is the file called that I need to create)
  • Where do I put that file
  • Do I just need to add the following two lines to the file?

    [ui]

    username = Your Name

Thanks guys.

© Stack Overflow or respective owner

Related posts about osx

Related posts about version-control