changegroup: use the local variable instead of reaching through self
authorRaphaël Gomès <rgomes@octobus.net>
Fri, 19 Feb 2021 11:17:16 +0100
changeset 46663 357d2ea95ce9
parent 46662 b91a695b3b08
child 46664 3941fe53670d
changegroup: use the local variable instead of reaching through self Gratuitous cleanup while I was here. Differential Revision: https://phab.mercurial-scm.org/D10023
mercurial/changegroup.py
--- 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)
             ]