Abort when no username is found

Martin Geisler mg at lazybytes.net
Mon Oct 19 22:38:59 UTC 2009


Hi everybody,

I've just pushed c63c336ee2f7 which makes Mercurial abort when you make
a commit without having configured a username. The message you get is:

  Please specify a username.

How can we improve this message? We need to include information about
how one can specify the username. We talked on IRC about making a new
help topic, I imagine it could be called 'hgrc'. That would let us write

  please specify a username, see "hg help hgrc"

But what should we put in such a help topic? A short blurp with a
reference to "man hgrc" and a link to hgrc.5.html?

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20091020/383381ad/attachment.asc>


More information about the Mercurial-devel mailing list