comparison mercurial/verify.py @ 38974:4f06e0360bad

changegroup: restore original behavior of _nextclrevtolocalrev 0548f696795b accidentally changed the behavior of cgpacker._close(). The old behavior moved _nextclrevtolocalrev to _clrevtolocalrev only when _nextclrevtolocalrev was present and then removed _nextclrevtolocalrev. The bad behavior performed this move then cleared _clrevtolocalrev because it was the same object as _nextclrevtolocalrev. This commit restores the previous behavior. Surprisingly, no tests changed as a result of this bad logic. I'm not sure why. Differential Revision: https://phab.mercurial-scm.org/D4155
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 07 Aug 2018 10:24:49 -0700
parents 1249475f0bd6
children 73cf21b2e8a6
comparison
equal deleted inserted replaced
38973:633249d226c7 38974:4f06e0360bad