Show More
@@ -224,12 +224,9 b' def _aborttransaction(repo):' | |||||
224 |
|
224 | |||
225 | def createcmd(ui, repo, pats, opts): |
|
225 | def createcmd(ui, repo, pats, opts): | |
226 | """subcommand that creates a new shelve""" |
|
226 | """subcommand that creates a new shelve""" | |
227 |
w |
|
227 | with repo.wlock(): | |
228 | try: |
|
|||
229 | cmdutil.checkunfinished(repo) |
|
228 | cmdutil.checkunfinished(repo) | |
230 | return _docreatecmd(ui, repo, pats, opts) |
|
229 | return _docreatecmd(ui, repo, pats, opts) | |
231 | finally: |
|
|||
232 | lockmod.release(wlock) |
|
|||
233 |
|
230 | |||
234 | def _docreatecmd(ui, repo, pats, opts): |
|
231 | def _docreatecmd(ui, repo, pats, opts): | |
235 | def mutableancestors(ctx): |
|
232 | def mutableancestors(ctx): |
General Comments 0
You need to be logged in to leave comments.
Login now