changeset 38168:faa015417348

revlog: make getcandidaterevs more consistent about updating tested revs set Like in previous cases, update the set of tested revisions after yielding
author Paul Morelle <paul.morelle@octobus.net>
date Wed, 07 Mar 2018 11:10:22 +0100
parents ec37df9042f9
children fc72beec2a1a
files mercurial/revlog.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revlog.py	Mon Mar 26 10:49:01 2018 -0700
+++ b/mercurial/revlog.py	Wed Mar 07 11:10:22 2018 +0100
@@ -345,6 +345,7 @@
                 # 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