equal
deleted
inserted
replaced
226 update = any( |
226 update = any( |
227 p != nullid and cl.rev(p) in strippedrevs |
227 p != nullid and cl.rev(p) in strippedrevs |
228 for p in repo.dirstate.parents() |
228 for p in repo.dirstate.parents() |
229 ) |
229 ) |
230 |
230 |
231 rootnodes = set(cl.node(r) for r in roots) |
231 rootnodes = {cl.node(r) for r in roots} |
232 |
232 |
233 q = getattr(repo, 'mq', None) |
233 q = getattr(repo, 'mq', None) |
234 if q is not None and q.applied: |
234 if q is not None and q.applied: |
235 # refresh queue state if we're about to strip |
235 # refresh queue state if we're about to strip |
236 # applied patches |
236 # applied patches |