hgext/drophack.py
branchstable
changeset 1210 1f8428096078
parent 1121 1a39b1b8e092
child 1553 ed63bf62ff02
equal deleted inserted replaced
1209:fa35aeb64d32 1210:1f8428096078
   148             # strip them
   148             # strip them
   149             with timed(ui, 'strip obsmarker'):
   149             with timed(ui, 'strip obsmarker'):
   150                 stripmarker(ui, repo, markers)
   150                 stripmarker(ui, repo, markers)
   151         # strip the changeset
   151         # strip the changeset
   152         with timed(ui, 'strip nodes'):
   152         with timed(ui, 'strip nodes'):
   153             repair.strip(ui, repo, allnodes, backup="all", topic='drophack')
   153             repair.strip(ui, repo, list(allnodes), backup="all", topic='drophack')
   154 
   154 
   155     finally:
   155     finally:
   156         lockmod.release(lock, wlock)
   156         lockmod.release(lock, wlock)
   157 
   157 
   158     # rewrite the whole file.
   158     # rewrite the whole file.