Load multiple .hgrc files - ie, some with machine-specific settings?

前端 未结 4 1479
北恋
北恋 2021-01-11 15:42

I\'d like to keep two ~/.hgrc files: ~/.hgrc and ~/.hgrc.local – one with \"standard\" settings (eg, username), the other with machine-specific settings (eg, se

4条回答
  •  佛祖请我去吃肉
    2021-01-11 16:37

    Mercurial will look in several different locations for hgrc files and will load them if present. For system-wide configuration the standard (on UNIX) would be to use /etc/mercurial/hgrc.

    See the files section of the hgrc man page for more information.

提交回复
热议问题