Mercurial > evolve
changeset 1374:39f2c1ab3a53 stable
evolve: make sure we use an unfiltered repo when looking for divergence data
Let's be double sure
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Thu, 18 Jun 2015 15:25:51 -0700 |
parents | 16017e1bb2a1 |
children | 9e062e6598e9 |
files | hgext/evolve.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/evolve.py Mon May 18 17:24:38 2015 -0700 +++ b/hgext/evolve.py Thu Jun 18 15:25:51 2015 -0700 @@ -1586,7 +1586,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]