mercurial/commands.py
changeset 13665 e798e430c5e5
parent 13663 d16c99f16f00
child 13694 4f5ed2bd1724
--- a/mercurial/commands.py	Wed Mar 16 18:48:59 2011 +0100
+++ b/mercurial/commands.py	Wed Mar 16 23:09:14 2011 +0100
@@ -1237,7 +1237,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))):