Mercurial > public > mercurial-scm > hg-stable
diff mercurial/changegroup.py @ 38971:9134c4e46084
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
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 06 Aug 2018 16:45:25 -0700 |
parents | 8a13855c8dbe |
children | 4f06e0360bad |
line wrap: on
line diff
--- 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