##// END OF EJS Templates
performance: speedup computation of suspended revisions...
Pierre-Yves David -
r18276:834ef7e7 default
parent child Browse files
Show More
@@ -671,7 +671,8 b' def _computeunstableset(repo):'
671 671 @cachefor('suspended')
672 672 def _computesuspendedset(repo):
673 673 """the set of obsolete parents with non obsolete descendants"""
674 return set(repo.revs('obsolete() and obsolete()::unstable()'))
674 suspended = repo.changelog.ancestors(getrevs(repo, 'unstable'))
675 return set(r for r in getrevs(repo, 'obsolete') if r in suspended)
675 676
676 677 @cachefor('extinct')
677 678 def _computeextinctset(repo):
General Comments 0
You need to be logged in to leave comments. Login now