changeset 20424:1da346bad3d8

revset: minor changes adding baseset to revsets Changed bits of code to work with baseset implementations.
author Lucas Moscovicz <lmoscovicz@fb.com>
date Thu, 06 Feb 2014 14:57:25 -0800
parents ada289dfceb0
children ca6aa8362f33
files mercurial/revset.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revset.py	Mon Feb 10 22:56:10 2014 +0100
+++ b/mercurial/revset.py	Thu Feb 06 14:57:25 2014 -0800
@@ -334,7 +334,7 @@
         raise error.ParseError(_("~ expects a number"))
     ps = set()
     cl = repo.changelog
-    for r in getset(repo, cl, x):
+    for r in getset(repo, baseset(cl), x):
         for i in range(n):
             r = cl.parentrevs(r)[0]
         ps.add(r)