Show More
@@ -226,6 +226,7 b' def createcmd(ui, repo, pats, opts):' | |||||
226 | """subcommand that creates a new shelve""" |
|
226 | """subcommand that creates a new shelve""" | |
227 | wlock = repo.wlock() |
|
227 | wlock = repo.wlock() | |
228 | try: |
|
228 | try: | |
|
229 | cmdutil.checkunfinished(repo) | |||
229 | return _docreatecmd(ui, repo, pats, opts) |
|
230 | return _docreatecmd(ui, repo, pats, opts) | |
230 | finally: |
|
231 | finally: | |
231 | lockmod.release(wlock) |
|
232 | lockmod.release(wlock) | |
@@ -808,8 +809,6 b' def shelvecmd(ui, repo, *pats, **opts):' | |||||
808 | To delete specific shelved changes, use ``--delete``. To delete |
|
809 | To delete specific shelved changes, use ``--delete``. To delete | |
809 | all shelved changes, use ``--cleanup``. |
|
810 | all shelved changes, use ``--cleanup``. | |
810 | ''' |
|
811 | ''' | |
811 | cmdutil.checkunfinished(repo) |
|
|||
812 |
|
||||
813 | allowables = [ |
|
812 | allowables = [ | |
814 | ('addremove', set(['create'])), # 'create' is pseudo action |
|
813 | ('addremove', set(['create'])), # 'create' is pseudo action | |
815 | ('cleanup', set(['cleanup'])), |
|
814 | ('cleanup', set(['cleanup'])), |
General Comments 0
You need to be logged in to leave comments.
Login now