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