[Updated] D10023: changegroup: use the local variable instead of reaching through self

Alphare (Raphaël Gomès) phabricator at mercurial-scm.org
Thu Mar 4 12:38:44 UTC 2021


Closed by commit rHG357d2ea95ce9: changegroup: use the local variable instead of reaching through self (authored by Alphare).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D10023?vs=25990&id=26059

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D10023/new/

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

AFFECTED FILES
  mercurial/changegroup.py

CHANGE DETAILS

diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py
--- a/mercurial/changegroup.py
+++ b/mercurial/changegroup.py
@@ -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)
             ]
 



To: Alphare, #hg-reviewers, marmoute, pulkit
Cc: marmoute, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210304/890a2d0d/attachment-0002.html>


More information about the Mercurial-patches mailing list