Mercurial > public > mercurial-scm > hg-stable
diff mercurial/state.py @ 42548:3de4f17f4824
shelve: move shelve extension to core
Until now, `shelve` was bootstrapped as an extension. This patch adds
`shelve` on core.
Differential Revision: https://phab.mercurial-scm.org/D6553
author | Navaneeth Suresh <navaneeths1998@gmail.com> |
---|---|
date | Fri, 28 Jun 2019 21:31:34 +0530 |
parents | faec09d89435 |
children | bb135a784b70 |
line wrap: on
line diff
--- a/mercurial/state.py Fri Jun 28 22:57:48 2019 +0530 +++ b/mercurial/state.py Fri Jun 28 21:31:34 2019 +0530 @@ -196,6 +196,10 @@ cmdhint=_("use 'hg graft --continue' or 'hg graft --stop' to stop") ) addunfinished( + 'unshelve', fname='shelvedstate', continueflag=True, + cmdmsg=_('unshelve already in progress') +) +addunfinished( 'update', fname='updatestate', clearable=True, cmdmsg=_('last update was interrupted'), cmdhint=_("use 'hg update' to get a consistent checkout"),