equal
deleted
inserted
replaced
1169 # (future) A cache of precursors may worth if split is very common |
1169 # (future) A cache of precursors may worth if split is very common |
1170 for pnode in allprecursors(repo.obsstore, [node], |
1170 for pnode in allprecursors(repo.obsstore, [node], |
1171 ignoreflags=bumpedfix): |
1171 ignoreflags=bumpedfix): |
1172 prev = torev(pnode) # unfiltered! but so is phasecache |
1172 prev = torev(pnode) # unfiltered! but so is phasecache |
1173 if (prev is not None) and (phase(repo, prev) <= public): |
1173 if (prev is not None) and (phase(repo, prev) <= public): |
1174 # we have a public precursors |
1174 # we have a public precursor |
1175 bumped.add(rev) |
1175 bumped.add(rev) |
1176 break # Next draft! |
1176 break # Next draft! |
1177 return bumped |
1177 return bumped |
1178 |
1178 |
1179 @cachefor('divergent') |
1179 @cachefor('divergent') |