Sunday, February 6, 2011

Mercurial installation bug

For those who use Mercurial as a project management tool:

The other day i was installing Mercurial from http://mercurial.selenic.com/
And i found that in winXP, when doing "hg commit" or "hg ci", this latest version returns an error, that says:
no username supplied (see "hg help config")
The solution is to add the following lines of code inside the file mercurial.ini:



[ui]
username = "your windows user name" (no quotes)

The file can be found at:
 C:\Program files\Mercurial\mercurial.ini
For some reason, the instalation does not add that information to the .ini file

No comments:

Post a Comment

Share with your friends