This is an archive of the discontinued Mercurial Phabricator instance.

auto-upgrade: introduce a way to auto-upgrade to/from share-safe
ClosedPublic

Authored by marmoute on Fri, May 6, 4:37 AM.

Details

Summary

This is the first "automatic-upgrade" capability. In the following commits,
similar features are coming for other "fast to upgrade" formats.

This is different from the safe-mismatch.source-not-safe and
safe-mismatch.source-safe configuration that deal with mismatch between a
share and its share-source. Here we are dealing with mismatch between a
repository configuration and its actual format.

We will need further work for cases were the repository cannot be locked. A
basic protection is in place to avoid a infinite loop for now, but it will get
proper attention in a later changeset.

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

marmoute created this revision.Fri, May 6, 4:37 AM
Alphare accepted this revision.Tue, May 17, 11:53 AM
Alphare added a subscriber: Alphare.

Will amend typos on-the-fly

This revision is now accepted and ready to land.Tue, May 17, 11:53 AM
baymax edited the summary of this revision. (Show Details)Thu, May 19, 6:36 AM
baymax updated this revision to Diff 33409.

โœ… refresh by Heptapod after a successful CI run (๐Ÿ™ ๐Ÿ’š)

baymax updated this revision to Diff 33424.Tue, May 24, 10:33 AM

โœ… refresh by Heptapod after a successful CI run (๐Ÿ™ ๐Ÿ’š)