Show More
@@ -1805,10 +1805,10 b' def _computeobsoletenotrebased(repo, reb' | |||
|
1805 | 1805 | srcnode = cl.node(srcrev) |
|
1806 | 1806 | destnode = cl.node(destmap[srcrev]) |
|
1807 | 1807 | # XXX: more advanced APIs are required to handle split correctly |
|
1808 |
successors = |
|
|
1808 | successors = set(obsutil.allsuccessors(repo.obsstore, [srcnode])) | |
|
1809 | 1809 | # obsutil.allsuccessors includes node itself |
|
1810 | 1810 | successors.remove(srcnode) |
|
1811 |
if |
|
|
1811 | if successors.issubset(extinctnodes): | |
|
1812 | 1812 | # all successors are extinct |
|
1813 | 1813 | obsoleteextinctsuccessors.add(srcrev) |
|
1814 | 1814 | if not successors: |
General Comments 0
You need to be logged in to leave comments.
Login now