Show More
@@ -930,7 +930,12 b' class queue(object):' | |||||
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 | phases.advanceboundary(repo, tphase, qfinished) |
|
933 | tr = repo.transaction('qfinish') | |
|
934 | try: | |||
|
935 | phases.advanceboundary(repo, tphase, qfinished) | |||
|
936 | tr.close() | |||
|
937 | finally: | |||
|
938 | tr.release() | |||
934 |
|
939 | |||
935 | def delete(self, repo, patches, opts): |
|
940 | def delete(self, repo, patches, opts): | |
936 | if not patches and not opts.get('rev'): |
|
941 | if not patches and not opts.get('rev'): |
General Comments 0
You need to be logged in to leave comments.
Login now