Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Mar 262011
 

Setting up a username in Mercurial

Answer:

To setup your Mercurial's username, you need to create the file .hgrc in your home folder,

e.g.

# touch ~/.hgrc

And add the following lines:

[ui]
username = John Doe <[email protected]>

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>