diff mercurial/commands.py @ 12821:165079e564f0 stable

revsets: generate predicate help dynamically
author Patrick Mezard <pmezard@gmail.com>
date Sat, 23 Oct 2010 19:21:51 +0200
parents a68ccfd9c7be
children 01145ee78c53
line wrap: on
line diff
--- a/mercurial/commands.py	Sat Oct 23 19:21:49 2010 +0200
+++ b/mercurial/commands.py	Sat Oct 23 19:21:51 2010 +0200
@@ -2029,6 +2029,8 @@
         ui.write(_('use "hg help extensions" for information on enabling '
                    'extensions\n'))
 
+    help.addtopichook('revsets', revset.makedoc)
+
     if name and name != 'shortlist':
         i = None
         if unknowncmd: