hgext/mq.py
changeset 22069 616a455b02ca
parent 22057 445472225ccd
child 22070 c1ca47204590
equal deleted inserted replaced
22068:d34058dd3246 22069:616a455b02ca
   930             oldqbase = repo[qfinished[0]]
   930             oldqbase = repo[qfinished[0]]
   931             tphase = repo.ui.config('phases', 'new-commit', phases.draft)
   931             tphase = repo.ui.config('phases', 'new-commit', phases.draft)
   932             if oldqbase.phase() > tphase and oldqbase.p1().phase() <= tphase:
   932             if oldqbase.phase() > tphase and oldqbase.p1().phase() <= tphase:
   933                 tr = repo.transaction('qfinish')
   933                 tr = repo.transaction('qfinish')
   934                 try:
   934                 try:
   935                     phases.advanceboundary(repo, tphase, qfinished)
   935                     phases.advanceboundary(repo, tr, tphase, qfinished)
   936                     tr.close()
   936                     tr.close()
   937                 finally:
   937                 finally:
   938                     tr.release()
   938                     tr.release()
   939 
   939 
   940     def delete(self, repo, patches, opts):
   940     def delete(self, repo, patches, opts):