This is an archive of the discontinued Mercurial Phabricator instance.

share: show warning if share is outdated while source supports share-safe
ClosedPublic

Authored by pulkit on Nov 23 2020, 4:29 AM.

Details

Summary

Previous patches in the series and some which are already committed implements
share safe functionality where config and requirements will be shared too.

Rolling this feature has a problem that existing shares may never upgrade as
they will never learn about the new config. To help the transition, we show a
warning messafe if the share source supports share-safe mechanism. This provides
the source repo ability to upgrade and pass on the message to shares that you
should reshare and upgrade too.

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.