Show More
@@ -1041,12 +1041,8 b' class queue(object):' | |||||
1041 | oldqbase = repo[qfinished[0]] |
|
1041 | oldqbase = repo[qfinished[0]] | |
1042 | tphase = repo.ui.config('phases', 'new-commit', phases.draft) |
|
1042 | tphase = repo.ui.config('phases', 'new-commit', phases.draft) | |
1043 | if oldqbase.phase() > tphase and oldqbase.p1().phase() <= tphase: |
|
1043 | if oldqbase.phase() > tphase and oldqbase.p1().phase() <= tphase: | |
1044 |
|
|
1044 | with repo.transaction('qfinish') as tr: | |
1045 | try: |
|
|||
1046 | phases.advanceboundary(repo, tr, tphase, qfinished) |
|
1045 | phases.advanceboundary(repo, tr, tphase, qfinished) | |
1047 | tr.close() |
|
|||
1048 | finally: |
|
|||
1049 | tr.release() |
|
|||
1050 |
|
1046 | |||
1051 | def delete(self, repo, patches, opts): |
|
1047 | def delete(self, repo, patches, opts): | |
1052 | if not patches and not opts.get('rev'): |
|
1048 | if not patches and not opts.get('rev'): |
General Comments 0
You need to be logged in to leave comments.
Login now