Show More
@@ -2715,14 +2715,11 def fold(ui, repo, *files, **opts): | |||||
2715 | message = '\n'.join(message) |
|
2715 | message = '\n'.join(message) | |
2716 |
|
2716 | |||
2717 | diffopts = q.patchopts(q.diffopts(), *patches) |
|
2717 | diffopts = q.patchopts(q.diffopts(), *patches) | |
2718 |
w |
|
2718 | with repo.wlock(): | |
2719 | try: |
|
|||
2720 | q.refresh(repo, msg=message, git=diffopts.git, edit=opts.get('edit'), |
|
2719 | q.refresh(repo, msg=message, git=diffopts.git, edit=opts.get('edit'), | |
2721 | editform='mq.qfold') |
|
2720 | editform='mq.qfold') | |
2722 | q.delete(repo, patches, opts) |
|
2721 | q.delete(repo, patches, opts) | |
2723 | q.savedirty() |
|
2722 | q.savedirty() | |
2724 | finally: |
|
|||
2725 | wlock.release() |
|
|||
2726 |
|
2723 | |||
2727 | @command("qgoto", |
|
2724 | @command("qgoto", | |
2728 | [('', 'keep-changes', None, |
|
2725 | [('', 'keep-changes', None, |
General Comments 0
You need to be logged in to leave comments.
Login now