HomePhabricator

statecheck: added support for STATES

Authored by taapas1128.

Description

statecheck: added support for STATES

This removes STATES from state.py and adds support to
statecheck class to handle its features.
getrepostate() function is modified accordingly.

This adds a method 'cmdutil.addunfinished()' for appending to
the unfinishedstate list so as to keep 'merge' and 'bisect' at the last.

This also makes two separate message formats for checkunfinished() and
getrepostate() as there were previously present.

Results of test changed are shown.

Differential Revision: https://phab.mercurial-scm.org/D6503

Details

Committed
taapas1128Jun 8 2019, 4:42 PM
Differential Revision
D6503: statecheck: added support for STATES
Parents
rHG5bddd2244814: state: moved cmdutil.STATES and utilities to state.py
Branches
Unknown
Tags
Unknown