( )⚙ D6488 statecheck: added support for unfinishedstates and utilities

This is an archive of the discontinued Mercurial Phabricator instance.

statecheck: added support for unfinishedstates and utilities
AbandonedPublic

Authored by taapas1128 on Jun 7 2019, 3:43 AM.

Details

Reviewers
durin42
martinvonz
Group Reviewers
hg-reviewers
Summary

This imports unfinishedstates, checkunfinished(), and clearunfinished()
from cmdutil.py and makes it compatible with the new statecheck class.
This also adds support of the new class state.statecheck
throughout core and extensions. This also removes the
previous method cmdutil.unfinishedstates and its API.

The results are shown in tests.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped