hgrc.5.text FILES content, ordering implied?

Douglas Philips dgou at mac.com
Wed Aug 19 13:11:31 CDT 2009


On 2009 Aug 19, at 12:19 PM, Steve Borho wrote:

> On Wed, Aug 19, 2009 at 10:01 AM, Douglas Philips<dgou at mac.com> wrote:
>> My question is about the (Windows) entries in this part of the FILES
>> section:
>>
>>        (Unix) $HOME/.hgrc, (Windows) %HOME%\Mercurial.ini, (Windows)
>>        %HOME%\.hgrc, (Windows) %USERPROFILE%\Mercurial.ini, (Windows)
>>        %USERPROFILE%\.hgrc
>>
>> Is it intended to convey that Mercurial will look for the files in  
>> the
>> order given?
>> ...
>> Did I misread by presuming that the order of the files was
>> significant, or is there a bug?
>
> The documentation does not match the actual behavior.  Mercurial looks
> in each directory in the user rcpath for both mercurial.ini and .hgrc
> files and reads them both.

Ok, so, do I file a bug against the docs, or against Mercurial itself?

--Doug



More information about the Mercurial-devel mailing list