debugrevspec: mention --verbose to print the parsed tree
authorPatrick Mezard <patrick@mezard.eu>
Fri, 10 Feb 2012 13:50:13 +0100
changeset 16104 5535e66b3016
parent 16102 50682c07a8d0
child 16109 cb756482c1aa
debugrevspec: mention --verbose to print the parsed tree
mercurial/commands.py
--- a/mercurial/commands.py	Fri Feb 10 13:47:57 2012 -0600
+++ b/mercurial/commands.py	Fri Feb 10 13:50:13 2012 +0100
@@ -2154,7 +2154,11 @@
 
 @command('debugrevspec', [], ('REVSPEC'))
 def debugrevspec(ui, repo, expr):
-    '''parse and apply a revision specification'''
+    """parse and apply a revision specification
+
+    Use --verbose to print the parsed tree before and after aliases
+    expansion.
+    """
     if ui.verbose:
         tree = revset.parse(expr)[0]
         ui.note(tree, "\n")