Hint for setting the username

Matt Mackall mpm at selenic.com
Tue Jul 9 13:29:49 CDT 2013

On Tue, 2013-07-09 at 16:51 +0200, Arne Babenhauserheide wrote:
> Hi,
> As followup on the earlier discussion¹, I created a patch for adding a hint how to add the username. 

In addition to the usual submission checklist, it's extremely helpful
when proposing UI changes to show us what it looks like. For instance:

  It used to look like this:

    $ hg commit
    you are a n00b (read the manual)

  ..which was a problem, as the message was unhelpful. Now it looks like this:

    $ hg commit
    you are a n00b
    (add this setting)

> +                               '(add section [ui] with username = YOURNAME in %s)')%scmutil.userrcpath()[0])

We recommend using email addresses?

It's also worth noting that a non-negligible percentage of n00bs balk at
the idea of creating a brand new config file.

Mathematics is the supreme nostalgia of our time.

More information about the Mercurial-devel mailing list