D6636: unshelve: changed Corruptedstate error msg from ui.warn to error.Abort

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Wed Jul 10 14:51:56 EDT 2019


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 '
> +                                 'working copy may be in an unexpected state\n'

will fix this indentation in flight.

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


More information about the Mercurial-devel mailing list