Ignore site-wide hgrc files?
Matt Mackall
mpm at selenic.com
Thu Jan 15 23:04:18 UTC 2015
On Thu, 2015-01-15 at 15:01 -0800, Nathan Goldbaum wrote:
> Hi all,
>
> I'm setting up mercurial on a new system that has a sitewide hgrc file in
> /etc/mercurial/hgrc.d/hgext.rc.
>
> There are some configuration options in this file that conflict with newer
> versions of mercurial (in particular, turning on the imerge extension, but
> to a lesser extent I'm not a fan of some of the other configuration options
> in this file).
>
> I can override the options in this file one by one, but I'd like to be able
> to simply ignore the whole file.
>
> Is there a way for me to tell my mercurial installation to ignore a
> site-wide configuration file like this?
The closest thing is HGRCPATH, see 'hg help env'.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list