hgrc.5.text FILES content, ordering implied?

Martin Geisler mg at lazybytes.net
Wed Aug 19 14:10:20 CDT 2009


Douglas Philips <dgou at mac.com> writes:

> 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?

The most helpful action is for you to correct the documentation and send
us a patch (send it to this list, patches should not be deposited in the
issue tracker):

  http://mercurial.selenic.com/wiki/SuccessfulPatch

You are very welcome to Cc it to me[1] since I'm applying many of our
documentation related changes.

[1]: a while ago I wrote that it doesn't matter if my address is in the
To or Cc headers -- everything goes into the same folder anyway. But
I've since then made my mail client highlighted mails if they contain my
address.

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090819/b8b7547e/attachment.pgp 


More information about the Mercurial-devel mailing list