diff mercurial/changegroup.py @ 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 c3c7a86e9c24
children f4c325bf80fc
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)
             ]