This is an archive of the discontinued Mercurial Phabricator instance.

upgrade: only process revlogs that needs it by default
ClosedPublic

Authored by marmoute on Dec 7 2021, 3:53 AM.

Details

Summary

We have more and more requirement that does not affect revlog or that only
affect some of them. It is silly to force a full processing of all revlog to
juste move the requirement around, or to simply rewrite the dirstate.

So now, only the revlog that needs to be touched will be touched. Unless the
--changelog & al flags are used.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

marmoute created this revision.Dec 7 2021, 3:53 AM
marmoute updated this revision to Diff 31341.Dec 7 2021, 4:13 AM
Alphare requested changes to this revision.Dec 10 2021, 4:55 AM
Alphare added a subscriber: Alphare.
Alphare added inline comments.
mercurial/upgrade.py
105

This probably needs to be deleted?

This revision now requires changes to proceed.Dec 10 2021, 4:55 AM
marmoute added inline comments.Dec 10 2021, 5:17 AM
mercurial/upgrade.py
105

indeed, thanks for spotting it.

marmoute updated this revision to Diff 31410.Dec 10 2021, 6:24 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.