[PATCH] debugrevspec: mention --verbose to print the parsed tree
Patrick Mezard
patrick at mezard.eu
Fri Feb 10 12:54:10 UTC 2012
# HG changeset patch
# User Patrick Mezard <patrick at mezard.eu>
# Date 1328878213 -3600
# Node ID 552b8790021a5263712e63fe1a5100633cd00c17
# Parent e1d8218d733bb318605308fa8c6f261f49d0c163
debugrevspec: mention --verbose to print the parsed tree
diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -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")
More information about the Mercurial-devel
mailing list