Abort when no username is found

Martin Geisler mg at lazybytes.net
Tue Oct 20 04:45:36 CDT 2009


Matt Mackall <mpm at selenic.com> writes:

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

Yes, the help topics are translatable -- the text is extracted by
i18n/hggettext and is put into the .po files like all other text.

> cross-platform, etc. And we can auto-build man pages from it roughly
> as we do today.

Yeah, we could do that. It would mean that we're limited to reST
constructs that the minirst parser can understand. Or maybe not... with
the container stuff I've been playing with we can easily "hack" it:

  .. container:: ignore

     Here we can have all funny things, it will be ignored by minirst.

Btw, I've not pushed the container code yet since I don't see it as a
very important feature for Mercurial 1.4. But let me know if you think
otherwise.

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.


More information about the Mercurial-devel mailing list