evolve: make sure we use an unfiltered repo when looking for divergence data
authorPierre-Yves David <pierre-yves.david@fb.com>
Thu, 18 Jun 2015 15:25:51 -0700
changeset 1373 3d2d3333fb0b
parent 1372 7023a01b9007
child 1388 c96e4ab4e5cc
evolve: make sure we use an unfiltered repo when looking for divergence data Let's be double sure
hgext/evolve.py
--- a/hgext/evolve.py	Wed Jun 17 11:31:05 2015 -0700
+++ b/hgext/evolve.py	Thu Jun 18 15:25:51 2015 -0700
@@ -1740,7 +1740,8 @@
 
     XXX this woobly function won't survive XXX
     """
-    for base in ctx._repo.set('reverse(precursors(%d))', ctx):
+    repo = ctx.repo.unfitered()
+    for base in repo.set('reverse(precursors(%d))', ctx):
         newer = obsolete.successorssets(ctx._repo, base.node())
         # drop filter and solution including the original ctx
         newer = [n for n in newer if n and ctx.node() not in n]