D3572: state: don't have a dict like interface for cmdstate class

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Thu May 17 12:47:09 EDT 2018


martinvonz added inline comments.

INLINE COMMENTS

> state.py:59-63
> +        try:
> +            iv = int(version)
> +        except ValueError:
> +            raise error.ProgrammingError("version of state file should be"
> +                                         " an integer")

Is this a direct consequence of removing the dict interface or could it be split out into a separate patch?

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3572

To: pulkit, #hg-reviewers
Cc: martinvonz, mercurial-devel


More information about the Mercurial-devel mailing list