D8029: uncopy: add new `hg uncopy` command

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Thu Jan 30 09:19:38 EST 2020


pulkit added inline comments.

INLINE COMMENTS

> cmdutil.py:1698
> +def uncopy(ui, repo, pats, opts):
> +    ctx = repo[None]
> +

generally we refer to `repo[None]` as `wctx` right?

> commands.py:7502
> +)
> +def uncopy(ui, repo, *pats, **opts):
> +    """unmark files as copied"""

We should add descriptive function documentation which will be visible to user when they do `hg uncopy -h`.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

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

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


More information about the Mercurial-devel mailing list