How to disable global mercurial configuration file.

Mads Kiilerich mads at kiilerich.com
Wed Jul 1 04:56:11 CDT 2009


On 07/01/2009 11:52 AM, Martin Geisler wrote:
> Wojciech Miłkowski<milkowski at gmail.com>  writes:
>
>    
>> Hi,
>>
>> is there any way to disable configuration settings stored in
>> /etc/mercurial directory? I need that to disable deprecated
>> extensions on system, where I have no root access. Simply setting
>> proper .hgrc file is not enough.
>>      
> You can disable an extension with a line like this:
>
>    [extensions]
>    hgext.hbisect = !
>    

Or you can set the environment variable HGRCPATH

/Mads


More information about the Mercurial mailing list