Abort when no username is found

Matt Mackall mpm at selenic.com
Mon Oct 19 17:48:13 CDT 2009


On Tue, 2009-10-20 at 00:38 +0200, Martin Geisler wrote:
> 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?

I think the end goal is to move the hgrc.5 text into the online help
system. Then it's online, easily translated in our current framework
(?), cross-platform, etc. And we can auto-build man pages from it
roughly as we do today.

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial-devel mailing list