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


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


# touch ~/.hgrc

And add the following lines:

username = John Doe <[email protected]>

 Leave a Reply



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>