##// END OF EJS Templates
unstable: use the `_mutablerevs` function when computing phase divergent...
marmoute -
r52015:5f9af842 default
parent child Browse files
Show More
@@ -993,7 +993,8 b' def _computephasedivergentset(repo):'
993 torev = cl.index.get_rev
993 torev = cl.index.get_rev
994 tonode = cl.node
994 tonode = cl.node
995 obsstore = repo.obsstore
995 obsstore = repo.obsstore
996 for rev in repo.revs(b'(not public()) and (not obsolete())'):
996 candidates = sorted(_mutablerevs(repo) - getrevs(repo, b"obsolete"))
997 for rev in candidates:
997 # We only evaluate mutable, non-obsolete revision
998 # We only evaluate mutable, non-obsolete revision
998 node = tonode(rev)
999 node = tonode(rev)
999 # (future) A cache of predecessors may worth if split is very common
1000 # (future) A cache of predecessors may worth if split is very common
General Comments 0
You need to be logged in to leave comments. Login now