Closed by commit rHG8ddfdcce4bd6: unshelve: changed Corruptedstate error msg
from ui.warn to error.Abort (authored by taapas1128).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6636
taapas1128 added a comment.
Fixed the message.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D6636/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D6636
To: taapas1128, #hg-reviewers, pulkit
Cc: mercurial-devel
__
taapas1128 edited the summary of this revision.
taapas1128 updated this revision to Diff 15865.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6636?vs=15856&id=15865
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D6636/new/
REVISION DETAIL
h
pulkit added a comment.
> This is fone so as to avoid the return statement
s/fone/done in flight
INLINE COMMENTS
> shelve.py:884
> shelvedstate.clear(repo)
> -return
> +raise error.Abort(_('could not read shelved state file, your
> '
> +
taapas1128 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
This changes the message type of Corruptedstate error in case of `hg unshelve
--abort`
to error.Abort from warning message. This is fone so as to avoid the ret