mercurial/commands.py
changeset 16218 81a1a00f5738
parent 16192 a4413624d014
child 16227 7855c522a9cb
--- a/mercurial/commands.py	Fri Mar 02 21:43:55 2012 +0200
+++ b/mercurial/commands.py	Fri Feb 24 11:02:21 2012 +0100
@@ -2161,10 +2161,10 @@
     """
     if ui.verbose:
         tree = revset.parse(expr)[0]
-        ui.note(tree, "\n")
+        ui.note(revset.prettyformat(tree), "\n")
         newtree = revset.findaliases(ui, tree)
         if newtree != tree:
-            ui.note(newtree, "\n")
+            ui.note(revset.prettyformat(newtree), "\n")
     func = revset.match(ui, expr)
     for c in func(repo, range(len(repo))):
         ui.write("%s\n" % c)