No subject
Tue Jun 24 10:43:11 CDT 2008
home directory) fails to function. Were it more clearly documented
that this is not the proper "context" for this option, along with the
proper context, then probleme solved.
Patrick
On Sat, Oct 4, 2008 at 7:29 AM, Peter Hosey <boredzo at gmail.com> wrote:
> On Oct 04, 2008, at 04:57:50, Patrick Waugh wrote:
>>
>> For example, it is not at all apparent that some [web] options can
>> function in the global, or per-repos hgrc files, while be useless in the
>> per-user config.
>
> That's because this isn't true. All the configuration directives go into the
> same pot (in a specific order), so if you put [web] options in the .hgrc
> file in the web server user's home directory, they will work just fine.
>
> Remember, Mercurial is running as the same user as the web server. As such,
> it looks in that user's home directory. There is no reason for it to look in
> any other user's home directory.
>
> The only exception might be in the case of a /~user URL, but I don't know
> whether it handles that case. (There's also REMOTE_USER, but the results of
> some Googling suggest that the value of that variable isn't necessary a user
> account on the machine.)
>
>
More information about the Mercurial
mailing list