Page MenuHomePhabricator

config: add `--shared` flag to edit config file of shared source
Needs ReviewPublic

Authored by pulkit on Jun 25 2020, 4:53 AM.

Details

Reviewers
marmoute
Group Reviewers
hg-reviewers
Summary

With format.exp-share-safe enabled, we now read the .hg/hgrc of the shared
source also.
This patch adds --shared flag to hg config command which can be used to edit
that shared source config file. It only works if the repository is shared one
and is shared using the safe method.

Diff Detail

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

Event Timeline

pulkit created this revision.Jun 25 2020, 4:53 AM
pulkit updated this revision to Diff 21744.Jul 1 2020, 6:01 AM
pulkit updated this revision to Diff 21753.Jul 2 2020, 7:17 AM
marmoute accepted this revision.Wed, Jul 15, 2:11 PM
pulkit retitled this revision from config: add `--share` flag to edit config file of shared source to config: add `--shared` flag to edit config file of shared source.
pulkit edited the summary of this revision. (Show Details)
pulkit updated this revision to Diff 21978.