diff mercurial/cmdutil.py @ 14098:9f5a0acb0056

revset aliases
author Alexander Solovyov <alexander@solovyov.net>
date Sat, 30 Apr 2011 18:30:14 +0200
parents 04ce8fa1015d
children 81e6d42b3228
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Sat Apr 30 19:41:53 2011 +0200
+++ b/mercurial/cmdutil.py	Sat Apr 30 18:30:14 2011 +0200
@@ -174,7 +174,7 @@
             pass
 
         # fall through to new-style queries if old-style fails
-        m = revset.match(spec)
+        m = revset.match(repo.ui, spec)
         for r in m(repo, range(len(repo))):
             if r not in seen:
                 l.append(r)