Abort when no username is found

Martin Geisler mg at lazybytes.net
Sat Nov 7 15:23:35 CST 2009


Matt Mackall <mpm at selenic.com> writes:

> On Tue, 2009-10-20 at 17:01 -0400, Greg Ward wrote:
>
>> And, for the error message itself: what about "no username supplied".
>> "Please specify" is so, I dunno, touchy-feely.  ;-)  I mean, the error
>> will be prefixed with "abort: ", right?  IMHO
>> 
>>   abort: no username supplied (see "hg help configuration")
>
> Looks fine to me, though I'd lean toward calling the config section
> 'config'.

I've added a help topic called config and referenced it using the error
message suggested by Greg above:

  http://hg.intevation.org/mercurial/crew/rev/b52f0f221325
  http://hg.intevation.org/mercurial/crew/rev/951730b2b8ba

As mentioned in the commit message, I plan to move more/all of hgrc.5
into the help system -- I already have the code for parsing line blocks
so I think we're almost there.

-- 
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: 197 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20091107/81442b2a/attachment.pgp 


More information about the Mercurial-devel mailing list