changegroup: assign to proper attribute
authorGregory Szorc <gregory.szorc@gmail.com>
Mon, 06 Aug 2018 16:45:25 -0700
changeset 38933 9134c4e46084
parent 38932 205efbf656c2
child 38934 35180ade80c1
changegroup: assign to proper attribute 0548f696795b accidentally assigned to self.clrevtolocalrev instead of self._clrevtolocalrev. Surprisingly, no tests failed as a result of this mistake. Curious. Differential Revision: https://phab.mercurial-scm.org/D4144
mercurial/changegroup.py
--- a/mercurial/changegroup.py	Mon Aug 06 09:00:26 2018 -0700
+++ b/mercurial/changegroup.py	Mon Aug 06 16:45:25 2018 -0700
@@ -605,7 +605,7 @@
         # Ellipses serving mode.
         self._clrevtolocalrev.clear()
         if self._nextclrevtolocalrev:
-            self.clrevtolocalrev = self._nextclrevtolocalrev
+            self._clrevtolocalrev = self._nextclrevtolocalrev
             self._nextclrevtolocalrev.clear()
         self._changelogdone = True