Show More
@@ -178,8 +178,9 b' def createcmd(ui, repo, pats, opts):' | |||||
178 | if hasmq: |
|
178 | if hasmq: | |
179 | saved, repo.mq.checkapplied = repo.mq.checkapplied, False |
|
179 | saved, repo.mq.checkapplied = repo.mq.checkapplied, False | |
180 | try: |
|
180 | try: | |
|
181 | editor = cmdutil.getcommiteditor(editform='shelve.shelve', **opts) | |||
181 | return repo.commit(message, user, opts.get('date'), match, |
|
182 | return repo.commit(message, user, opts.get('date'), match, | |
182 |
editor= |
|
183 | editor=editor) | |
183 | finally: |
|
184 | finally: | |
184 | if hasmq: |
|
185 | if hasmq: | |
185 | repo.mq.checkapplied = saved |
|
186 | repo.mq.checkapplied = saved |
General Comments 0
You need to be logged in to leave comments.
Login now