Commits

Augie Fackler committed ad2060d

fastobs: revset refactor related fixes

  • Participants
  • Parent commits a398478
  • Branches default

Comments (0)

Files changed (1)

     return cs
 
 def _revsetprecursors(repo, subset, x):
-    s = revset.getset(repo, range(len(repo)), x)
+    s = revset.getset(repo, revset.baseset(range(len(repo))), x)
     cs = _precursors(repo, s)
-    return [r for r in subset if r in cs]
+    return revset.baseset([r for r in subset if r in cs])
 
 revset.symbols['_fastobs_precursors'] = _revsetprecursors