In the process, we fix the lack of HAS_COPIES_INFO flag on upgrade, and test the
results.
Details
- Reviewers
indygreg pulkit - Group Reviewers
hg-reviewers - Commits
- rHGedf4fa06df94: upgrade: allow sidedata upgrade to modify revision flag
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
| mercurial/metadata.py | ||
|---|---|---|
| 934 | IIUC, this should be return False, f, {}, sidedataflag.REVIDX_HASCOPIESINFO, 0 instead of return False, f, {}, 0, sidedataflag.REVIDX_HASCOPIESINFO | |
| mercurial/revlog.py | ||
| 1494 | unrelated change | |
| 1775 | unrelated change | |
| 2047 | unrelated change | |
| tests/test-copies-chain-merge.t | ||
| 1 | Hm, didn't quite understand why we need a new case here. | |
| mercurial/metadata.py | ||
|---|---|---|
| 934 | Should it ? We are removing copy tracing sidedata information here. So we need to drop the flag. | |
| tests/test-copies-chain-merge.t | ||
| 1 | (I just wrote a related reply on D9195) They are three case I want tested (in addition to compatibility)
That last point is important, because the lack of it lead to breakage to got undetected. | |
| mercurial/revlog.py | ||
|---|---|---|
| 1775 | These one should be fixed now. | |
IIUC, this should be return False, f, {}, sidedataflag.REVIDX_HASCOPIESINFO, 0 instead of return False, f, {}, 0, sidedataflag.REVIDX_HASCOPIESINFO