D7406: scmutil: convert status data object from a tuple to an attrs (API)

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Fri Nov 15 05:50:27 UTC 2019


martinvonz added inline comments.

INLINE COMMENTS

> scmutil.py:81-88
> +    def __iter__(self):
> +        yield self.modified
> +        yield self.added
> +        yield self.removed
> +        yield self.deleted
> +        yield self.unknown
> +        yield self.ignored

What depends on this? It looked like many of the patches earlier in the series tried to get rid of iteration.

REPOSITORY
  rHG Mercurial

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

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

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


More information about the Mercurial-devel mailing list