D6608: graft: moved abortgraft and readgraft to cmdutil

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Mon Jul 8 11:51:35 EDT 2019


pulkit added a comment.


  It will be nice to mention about our motivation to move code in the commit message.

INLINE COMMENTS

> cmdutil.py:3350
> +
> +def _abortgraft(ui, repo, graftstate):
> +    """abort the interrupted graft and rollbacks to the state before interrupted

We should drop `_` perfix from names, both here and below.

> cmdutil.py:3413
> +        return {'nodes': nodes}
> +

Unrequired newline at the end of file.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6608/new/

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

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


More information about the Mercurial-devel mailing list