This is an archive of the discontinued Mercurial Phabricator instance.

share: add documentation about various configs introduced recently
AbandonedPublic

Authored by pulkit on Jan 14 2021, 6:19 AM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

My recent series added these 4 configs which control how to behave when there is
difference in share-safe state of source and shares. However my patches were
missing documentation. This patch adds it.

The documentation is added in verbose part as the feature and config are
experimental.

Diff Detail

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

Event Timeline

pulkit created this revision.Jan 14 2021, 6:19 AM

I feel like I already comment on that, but I cannot find that comment anymore ‽

→ this should go in the main config definition since most of share and the associated behavior lives in core.
→ I would rather have the config renamed to their final form so that we can document the final API directly.

I am a bit surprised to see only 4 options. Their should be 6, 3 for upgrade and 3 for downgrade.

The relationship between the three options should be clearer. For example, the warning do control if we issue a warning on failed upgrade, right? The abort case primarily control the non-upgrade case, and as a secondary effect effect the failed-upgrade case right? That documentation should present this in a clearer way.

Is this one obsoleted by D9785, D9786 (and friends)?

pulkit abandoned this revision.Jan 19 2021, 8:08 AM

Is this one obsoleted by D9785, D9786 (and friends)?

Yes.