mercurial/commands.py
branchstable
changeset 14496 ffcb7e4d719f
parent 14360 ab687820c4cc
child 14509 4f695345979c
--- a/mercurial/commands.py	Tue May 31 15:25:43 2011 -0500
+++ b/mercurial/commands.py	Wed Mar 16 23:09:14 2011 +0100
@@ -1214,7 +1214,7 @@
 def debugrevspec(ui, repo, expr):
     '''parse and apply a revision specification'''
     if ui.verbose:
-        tree = revset.parse(expr)
+        tree = revset.parse(expr)[0]
         ui.note(tree, "\n")
     func = revset.match(expr)
     for c in func(repo, range(len(repo))):