D6274: copies: document cases in _chain()

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Thu Apr 18 13:49:19 EDT 2019


martinvonz added inline comments.

INLINE COMMENTS

> copies.py:120-125
> +    #   1   a   b   -    -
> +    #   2   a   b   b   a->b
> +    #   3   a   b   a    -
> +    #   4   a   b   c   a->c
> +    #   5   -   a   b    -
> +    #   6   a   a   b   a->b

I just realized that using `a`, `b`, `c` as filenames is confusing since `a` and `b` are also the names of the copy dicts. I'll rename the files to `x`, `y`, `z`.

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list