Mercurial > hg
comparison mercurial/changegroup.py @ 38933: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 |
comparison
equal
deleted
inserted
replaced
38932:205efbf656c2 | 38933:9134c4e46084 |
---|---|
603 | 603 |
604 def _close(self): | 604 def _close(self): |
605 # Ellipses serving mode. | 605 # Ellipses serving mode. |
606 self._clrevtolocalrev.clear() | 606 self._clrevtolocalrev.clear() |
607 if self._nextclrevtolocalrev: | 607 if self._nextclrevtolocalrev: |
608 self.clrevtolocalrev = self._nextclrevtolocalrev | 608 self._clrevtolocalrev = self._nextclrevtolocalrev |
609 self._nextclrevtolocalrev.clear() | 609 self._nextclrevtolocalrev.clear() |
610 self._changelogdone = True | 610 self._changelogdone = True |
611 | 611 |
612 return closechunk() | 612 return closechunk() |
613 | 613 |