Show More
@@ -263,11 +263,8 b' def validdest(repo, old, new):' | |||||
263 | while len(validdests) != plen: |
|
263 | while len(validdests) != plen: | |
264 | plen = len(validdests) |
|
264 | plen = len(validdests) | |
265 | succs = set(c.node() for c in validdests) |
|
265 | succs = set(c.node() for c in validdests) | |
266 |
for c in validdests |
|
266 | mutable = [c.node() for c in validdests if c.mutable()] | |
267 | if c.mutable(): |
|
267 | succs.update(obsolete.allsuccessors(repo.obsstore, mutable)) | |
268 | # obsolescence marker does not apply to public changeset |
|
|||
269 | succs.update(obsolete.allsuccessors(repo.obsstore, |
|
|||
270 | [c.node()])) |
|
|||
271 | known = (n for n in succs if n in nm) |
|
268 | known = (n for n in succs if n in nm) | |
272 | validdests = set(repo.set('%ln::', known)) |
|
269 | validdests = set(repo.set('%ln::', known)) | |
273 | validdests.remove(old) |
|
270 | validdests.remove(old) |
General Comments 0
You need to be logged in to leave comments.
Login now