D3654: graft: start using the cmdstate class to read and write data to graftstate

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Thu May 24 18:40:33 EDT 2018


martinvonz added inline comments.

INLINE COMMENTS

> commands.py:2389-2390
> +    try:
> +        statedata = graftstate.read()
> +        return statedata
> +    except error.CorruptedState:

Will join these two lines in flight. (I don't know if you're going to make this more complex in the future, but the variable seems unnecessary at this point.)

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list