--- a/mercurial/templatekw.py Sat Jul 07 00:47:55 2012 -0400
+++ b/mercurial/templatekw.py Tue Jul 10 09:11:53 2012 -0700
@@ -326,5 +326,16 @@
'tags': showtags,
}
+def _showparents(**args):
+ """:parents: List of strings. The parents of the changeset in "rev:node"
+ format. If the changeset has only one "natural" parent (the predecessor
+ revision) nothing is shown."""
+ pass
+
+dockeywords = {
+ 'parents': _showparents,
+}
+dockeywords.update(keywords)
+
# tell hggettext to extract docstrings from these functions:
-i18nfunctions = keywords.values()
+i18nfunctions = dockeywords.values()