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

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


>>>>> "Thomas" == Thomas Arendsen Hein <thomas at intevation.de> 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 rfc1149.net]: <wait for user input>

and update ~/.hgrc appropriately.

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

  Sam
-- 
Samuel Tardieu -- sam at rfc1149.net -- http://www.rfc1149.net/



More information about the Mercurial mailing list