Mercurial Documentation
Martin Geisler
mg at lazybytes.net
Thu Sep 17 06:21:12 CDT 2009
Fabian Kreutz <fabian.kreutz at qvantel.com> writes:
> 1. The help text for the churn extension could mention "hg help
> templating"
What do people think of this text:
diff --git a/hgext/churn.py b/hgext/churn.py
--- a/hgext/churn.py
+++ b/hgext/churn.py
@@ -120,6 +120,10 @@
# display count of lines changed in every year
hg churn -f '%Y' -s
+ Please see 'hg help templates' for a full list of template
+ keywords. See 'man strftime' or the Python time.strftime
+ documentation for a list of recognized date format directives.
+
It is possible to map alternate email addresses to a main address
by providing a file using the following format::
> 2. Some help texts (e.g. of extension bugzilla and color) are not
> indented like the others
Actually they are: those extensions provide a module docstring which is
used when you write 'hg help bugzilla or 'hg help color'. These module
help strings are not indented like the strings for normal commands.
--
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