# HG changeset patch # User Gregory Szorc # Date 2018-08-06 23:45:25 # Node ID 9134c4e46084dc0c7efefed3003a0b7f6052ee0e # Parent 205efbf656c2ce930169d0a6a4d18405cd21fad3 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 diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py --- a/mercurial/changegroup.py +++ b/mercurial/changegroup.py @@ -605,7 +605,7 @@ class cgpacker(object): # Ellipses serving mode. self._clrevtolocalrev.clear() if self._nextclrevtolocalrev: - self.clrevtolocalrev = self._nextclrevtolocalrev + self._clrevtolocalrev = self._nextclrevtolocalrev self._nextclrevtolocalrev.clear() self._changelogdone = True