changeset 46624:357d2ea95ce9

changegroup: use the local variable instead of reaching through self Gratuitous cleanup while I was here. Differential Revision: https://phab.mercurial-scm.org/D10023
author Raphaël Gomès <rgomes@octobus.net>
date Fri, 19 Feb 2021 11:17:16 +0100
parents b91a695b3b08
children 3941fe53670d
files mercurial/changegroup.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/changegroup.py	Fri Jan 29 12:17:11 2021 +0100
+++ b/mercurial/changegroup.py	Fri Feb 19 11:17:16 2021 +0100
@@ -1009,7 +1009,7 @@
         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)
             ]