sapling/doc
Bryan O'Sullivan e6c1da7c61 Adapt commit to use file matching code.
The code is slightly complicated by the need to commit all outstanding
changes in the repository if no file names are given (other commands
operate on the current directory and its subdirectories in this case).

localrepository.changes has acquired an optional match parameter, to let
it filter out include/exclude options.
2005-07-29 15:02:27 -08:00
..
FAQ.txt Fix typos in FAQ 2005-07-17 08:39:44 +01:00
hg.1.txt Adapt commit to use file matching code. 2005-07-29 15:02:27 -08:00
hgmerge.1.txt Add hgmerge manpage 2005-06-24 23:17:10 -08:00
hgrc.5.txt Fix default values and add interactive setting to [ui] section of hgrc docs. 2005-07-14 17:22:20 +01:00
Makefile Move hgrc documentation out to its own man page, hgrc(5). 2005-07-10 16:14:06 -08:00
README Clarify doc/README a bit 2005-06-23 17:51:03 -08:00

Mercurial's documentation is currently kept in ASCIIDOC format, which
is a simple plain text format that's easy to read and edit. It's also
convertible to a variety of other formats including standard UNIX man
page format and HTML.

To do this, you'll need to install ASCIIDOC:

 http://www.methods.co.nz/asciidoc/

To generate the man page:

 asciidoc -d manpage -b docbook hg.1.txt
 xmlto man hg.1.xml

To display:

 groff -mandoc -Tascii hg.1 | more

To create the html page (without stylesheets):

 asciidoc -b html hg.1.txt