# HG changeset patch # User Paul Morelle # Date 2018-03-07 10:10:22 # Node ID faa0154173487e3de8577fafad2865172bbbcb73 # Parent ec37df9042f9f074a90131c5ac83a8803e83d238 revlog: make getcandidaterevs more consistent about updating tested revs set Like in previous cases, update the set of tested revisions after yielding diff --git a/mercurial/revlog.py b/mercurial/revlog.py --- a/mercurial/revlog.py +++ b/mercurial/revlog.py @@ -345,6 +345,7 @@ class _deltacomputer(object): # other approach failed try against prev to hopefully save us a # fulltext. yield (prev,) + tested.add(prev) def buildtext(self, revinfo, fh): """Builds a fulltext version of a revision