HomePhabricator

state: moved cmdutil.STATES and utilities to state.py

Authored by taapas1128.

Description

state: moved cmdutil.STATES and utilities to state.py

This commit moves cmdutil.STATES and adjoining functions to
state.py. The existing users are updated accordingly.

Tests remain unchanged.

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