D5413: manifest: convert a recursive function to iterative one using stacks

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Wed Jan 9 20:06:01 UTC 2019


durin42 added inline comments.

INLINE COMMENTS

> manifest.py:1139
> +
> +        def _iterativediff(t1, t2, stack):
> +            """compares two tree manifests and append new tree-manifests which

room for a follow-up: I'm not sure this needs to be a nested function anymore (it could be a separate method on self)

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list