is this intentional?
Peter Hosey
boredzo at gmail.com
Sat Oct 4 12:29:10 UTC 2008
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