equal
deleted
inserted
replaced
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): |