This is an archive of the discontinued Mercurial Phabricator instance.

upgrade: issue a message when a revlog type has to be upgraded
ClosedPublic

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

Details

Summary

This is more explicite and prepare for a smoother transition to smarter picking
of the revlog we will process.

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 31340.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
114

Should be all filelogs since this is user-facing

127

The UI uses "manifest", I think "manifestlog" will be confusing for some users. Also, shouldn't it be "all manifests"?

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

I prefer to use a single word approach for this (to the user) so that it is clearer that this is monolithic thing.

127

We are processing revlogs here, I find manifestlog clearer. Keep in mind that this is a debug command and the user here is likely some kind of admin.

We can make it all-manifestlogs as tree manifest exists.

marmoute updated this revision to Diff 31409.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.