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.
| Lint Skipped | 
| Unit Tests Skipped | 
| mercurial/changegroup.py | ||
|---|---|---|
| 602–603 | 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) | 
| Commit | Parents | Author | Summary | Date | 
|---|---|---|---|---|
| Gregory Szorc | Aug 3 2018, 4:11 PM | 
| 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.