This is an archive of the discontinued Mercurial Phabricator instance.

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

Authored by taapas1128 on Jul 10 2019, 2:20 PM.

Details

Summary

This changes the message type of Corruptedstate error in case of hg unshelve --abort
to error.Abort from warning message. This is done so as to avoid the return statement
after the warning.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

taapas1128 created this revision.Jul 10 2019, 2:20 PM
pulkit accepted this revision.Jul 10 2019, 2:47 PM
This revision is now accepted and ready to land.Jul 10 2019, 2:47 PM

This is fone so as to avoid the return statement

s/fone/done in flight

mercurial/shelve.py
884–886

will fix this indentation in flight.

taapas1128 edited the summary of this revision. (Show Details)Jul 10 2019, 3:35 PM
taapas1128 updated this revision to Diff 15865.

Fixed the message.