[PATCH] hgrc5: wrap corrected text at 80 chars for manpage

Martin Geisler mg at lazybytes.net
Wed Jun 10 03:51:04 CDT 2009


Christian Ebert <blacktrash at gmx.net> writes:

> Hi Martin, Benoit,
>
> Yeah, I saw those '+'-signs, experimented a bit, tried to find out
> about it in the asciidoc docs ... and gave up :-(

No wonder... it's a silly syntax. After Mercurial 1.3 I suggest we
look into using reStructuredText instead. Its syntax is indention
based (like a certain programming language we all know...) and this
makes it look much better, IMHO.

> Thank you and Benoit!

Benoit: your changes in face0d0540e6 and 012be286b2c4 gives me literal
backslashes in the HTML and man page output. So hgrc.5 now reads

  \*.rc files from a single directory [...]

I believe the problem is that the backticks escape their content, and
so the * does not need escaping. At least that's what I see with
asciidoc 8.4.5, freshly cloned from their Mercurial repository. Did
you use a different version?

> Sorry for just ranting and not having been more constructive. It's
> just that atm I /have/ to do other stuff -- which in parts is even
> more annoying than asciidoc syntax.

I'm glad that I now had a change to learn a bit about asciidoc.

-- 
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