sapling/doc
Chad Dombrova 22bbfbd44a provide pre- and post- hooks with parsed command line arguments.
python hooks are passed two new keyword arguments:
- opts: a dict of options; unsepcified options are set to their default
- pats: a list of arguments

shell hooks receive two new variables containing string representations
of the above data:
- $HG_OPTS
- $HG_PATS

for example, the opts and pats for 'hg -f v1.1' would be:
{'force': True, 'message': '', 'rev': '', 'user': '', 'date': '', 'local': None, 'remove': None, 'mq': None}
['v1.1']
2010-06-10 09:32:19 -07:00
..
common.txt doc: link man pages to one another 2009-07-16 23:25:26 +02:00
gendoc.py help: show value requirement and multiple occurrence of options 2010-06-06 17:25:00 +09:00
hg.1.txt Update license to GPLv2+ 2010-01-19 22:20:08 -06:00
hgignore.5.txt Update license to GPLv2+ 2010-01-19 22:20:08 -06:00
hgrc.5.txt provide pre- and post- hooks with parsed command line arguments. 2010-06-10 09:32:19 -07:00
Makefile doc: add generic frontend to rst2man and rst2html 2010-04-22 09:57:04 +02:00
manpage.py doc: add generic frontend to rst2man and rst2html 2010-04-22 09:57:04 +02:00
README doc/README: simplify instructions 2009-09-03 21:40:45 +02:00
runrst doc: make links for hg role 2010-04-23 09:53:25 +02:00
style.css doc/style: add orange border color to notes 2009-11-11 21:52:02 +01:00

Mercurial's documentation is kept in reStructuredText format, which is
a simple plain text format that's easy to read and edit:

  http://docutils.sourceforge.net/rst.html

It's also convertible to a variety of other formats including standard
UNIX man page format and HTML. You'll need to install Docutils:

  http://docutils.sourceforge.net/

Use the Makefile in this directory to generate the man and HTML pages.