mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
22bbfbd44a
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'] |
||
---|---|---|
.. | ||
common.txt | ||
gendoc.py | ||
hg.1.txt | ||
hgignore.5.txt | ||
hgrc.5.txt | ||
Makefile | ||
manpage.py | ||
README | ||
runrst | ||
style.css |
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.