And remove the underscores so the variables conform to our
naming convention.
The logic in _close() should be the only thing warranting scrutiny
during review.
hg-reviewers |
And remove the underscores so the variables conform to our
naming convention.
The logic in _close() should be the only thing warranting scrutiny
during review.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
mercurial/changegroup.py | ||
---|---|---|
599–600 | There are 2 bugs here. One is dropping the _ prefix from clrevtolocalrev. The other is aliasing the variables then calling .clear(), which has the effect of undoing both and effectively nerfing self._nextclrevtolocalrev. Surprisingly no tests failed as a result of these bugs. So I'm not sure what's going on. Maybe @spectral, @martinvonz, or @durin42 know what's up. |
Path | Packages | |||
---|---|---|---|---|
M | mercurial/changegroup.py (50 lines) |
Status | Author | Revision | |
---|---|---|---|
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg | ||
Closed | indygreg |
There are 2 bugs here.
One is dropping the _ prefix from clrevtolocalrev.
The other is aliasing the variables then calling .clear(), which has the effect of undoing both and effectively nerfing self._nextclrevtolocalrev.
Surprisingly no tests failed as a result of these bugs. So I'm not sure what's going on.
Maybe @spectral, @martinvonz, or @durin42 know what's up.