# HG changeset patch # User Raphaël Gomès # Date 2021-02-19 10:17:16 # Node ID 357d2ea95ce9e5d2d24135489dd0d654c67816fc # Parent b91a695b3b084e3d676a5e6aa1f6192fecf4aa8e changegroup: use the local variable instead of reaching through self Gratuitous cleanup while I was here. Differential Revision: https://phab.mercurial-scm.org/D10023 diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py --- a/mercurial/changegroup.py +++ b/mercurial/changegroup.py @@ -1009,7 +1009,7 @@ class cgpacker(object): mfdicts = None if self._ellipses and self._isshallow: mfdicts = [ - (self._repo.manifestlog[n].read(), lr) + (repo.manifestlog[n].read(), lr) for (n, lr) in pycompat.iteritems(manifests) ]