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
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
Event Timeline
mercurial/metadata.py | ||
---|---|---|
929 | 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 | |
1774 | unrelated change | |
2045 | unrelated change | |
tests/test-copies-chain-merge.t | ||
1 | Hm, didn't quite understand why we need a new case here. |
mercurial/metadata.py | ||
---|---|---|
929 | 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 | ||
---|---|---|
1774 | 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