[PATCH] "escape" .hg/hgrc in command doc strings for asciidoc (#1072)
Christian Ebert
blacktrash at gmx.net
Fri Apr 4 06:42:20 UTC 2008
* Christian Ebert on Thursday, April 03, 2008 at 13:12:58 +0200
> # HG changeset patch
> # User Christian Ebert <blacktrash at gmx.net>
> # Date 1207221128 -7200
> # Node ID ebcbb901378edf57a750d8c5dd9c191efe6f5fe2
> # Parent da752414978770dd8aaa8f4303eac98563e4555d
> "escape" .hg/hgrc in command doc strings for asciidoc (#1072)
>
> .hg/hgrc at beginning of line screws up hg(1), issue 1072.
>
> For consistency with the fixes in me1c1ef561d541, ba40e267762b
> this patch uses repo/.hg/hgrc
>
> Other workaround possibilities:
> - rewrap, so .hg/hgrc is not at bol
> - possibly quoting ".hg/hgrc" would work
The more one looks at it, the messier it gets ;)
hgrc.5.txt already uses <repo>/.hg/hgrc
Seems better to me, but more rewrapping needed.
How about .hgignore? .hgtags?
Rewrapping command doc strings to a smaller width is indicated as
well, as in hg.1 they are displayed with a huge indent.
Do something about it? Or just wait until someone comes up with
man format without asciidoc?
c
--
Patch queue to improve Mercurial's handling of non-ascii chars in mails:
<http://www.blacktrash.org/hg/hg-mail-mq/>
Mercurial crew repo, with mail improvement patch queue applied:
<http://www.blacktrash.org/hg/hg-crew-mq/>
More information about the Mercurial-devel
mailing list