mercurial/commands.py
changeset 14098 9f5a0acb0056
parent 14076 924c82157d46
child 14141 bd1cbfe5db5c
--- a/mercurial/commands.py	Sat Apr 30 19:41:53 2011 +0200
+++ b/mercurial/commands.py	Sat Apr 30 18:30:14 2011 +0200
@@ -1296,7 +1296,10 @@
     if ui.verbose:
         tree = revset.parse(expr)[0]
         ui.note(tree, "\n")
-    func = revset.match(expr)
+        newtree = revset.findaliases(ui, tree)
+        if newtree != tree:
+            ui.note(newtree, "\n")
+    func = revset.match(ui, expr)
     for c in func(repo, range(len(repo))):
         ui.write("%s\n" % c)