##// END OF EJS Templates
phases: fix an overzealous invalidation of the phase sets...
marmoute -
r52305:89b638af default
parent child Browse files
Show More
@@ -384,7 +384,7 b' class phasecache:'
384 """detect if there are revisions with non-public phase"""
384 """detect if there are revisions with non-public phase"""
385 repo = repo.unfiltered()
385 repo = repo.unfiltered()
386 cl = repo.changelog
386 cl = repo.changelog
387 if len(cl) >= self._loadedrevslen:
387 if len(cl) > self._loadedrevslen:
388 self.invalidate()
388 self.invalidate()
389 self.loadphaserevs(repo)
389 self.loadphaserevs(repo)
390 return any(
390 return any(
@@ -401,7 +401,7 b' class phasecache:'
401 """
401 """
402 repo = repo.unfiltered()
402 repo = repo.unfiltered()
403 cl = repo.changelog
403 cl = repo.changelog
404 if len(cl) >= self._loadedrevslen:
404 if len(cl) > self._loadedrevslen:
405 self.invalidate()
405 self.invalidate()
406 self.loadphaserevs(repo)
406 self.loadphaserevs(repo)
407 return set().union(
407 return set().union(
General Comments 0
You need to be logged in to leave comments. Login now