Help. I've screwed up my repo again, and I have no idea how.

Samuel Tardieu sam at
Thu Nov 2 09:09:59 CST 2006

>>>>> "Thomas" == Thomas Arendsen Hein <thomas at> writes:

Thomas> $ hg commit
Thomas> Abort: Please specify a username. (see 'hg help username')

I like it, but I think this may turn some people off from using
Mercurial (some users are already afraid of using versioning systems).

What could be done instead is *ask* the user to provide a username,
such as in

% hg commit
Please configure your full name and email address:
Full name [default: Samuel Tardieu]: <wait for user input>
Email address [default: sam at]: <wait for user input>

and update ~/.hgrc appropriately.

The default, on Unix, could be derived from gecos, login and
/etc/mailname, domainname or hostname.

Samuel Tardieu -- sam at --

More information about the Mercurial mailing list