how to configure the global .hgrc file from the commandline

Uwe Brauer oub at mat.ucm.es
Mon May 25 17:56:37 UTC 2020



> hg config --edit # edits the user-specific hgrc, which is probably what you want
> hg config --global # edits the machine-global hgrc, almost never what you want
> hg config --local # edits the .hg/hgrc file

> It strikes me that we might want to rename these to be --edit-user,
> --edit-machine-wide, and --edit-repo respectively, but these flags
> will always work.

I think the renaming  would be a good idea
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5673 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20200525/70450a91/attachment.p7s>


More information about the Mercurial mailing list