Show More
@@ -916,11 +916,12 b' def _computephasedivergentset(repo):' | |||||
916 | cl = repo.changelog |
|
916 | cl = repo.changelog | |
917 | torev = cl.nodemap.get |
|
917 | torev = cl.nodemap.get | |
918 | tonode = cl.node |
|
918 | tonode = cl.node | |
|
919 | obsstore = repo.obsstore | |||
919 | for rev in repo.revs('(not public()) and (not obsolete())'): |
|
920 | for rev in repo.revs('(not public()) and (not obsolete())'): | |
920 | # We only evaluate mutable, non-obsolete revision |
|
921 | # We only evaluate mutable, non-obsolete revision | |
921 | node = tonode(rev) |
|
922 | node = tonode(rev) | |
922 | # (future) A cache of predecessors may worth if split is very common |
|
923 | # (future) A cache of predecessors may worth if split is very common | |
923 |
for pnode in obsutil.allpredecessors( |
|
924 | for pnode in obsutil.allpredecessors(obsstore, [node], | |
924 | ignoreflags=bumpedfix): |
|
925 | ignoreflags=bumpedfix): | |
925 | prev = torev(pnode) # unfiltered! but so is phasecache |
|
926 | prev = torev(pnode) # unfiltered! but so is phasecache | |
926 | if (prev is not None) and (phase(repo, prev) <= public): |
|
927 | if (prev is not None) and (phase(repo, prev) <= public): |
General Comments 0
You need to be logged in to leave comments.
Login now