[PATCH] Check for .hgrc files in ancestor directories above the repository

Jesse Glick jesse.glick at sun.com
Fri Jan 11 12:34:17 CST 2008


Peter Arrenbrecht wrote:
> If no one has a convincing argument for the full parent scan, I would
> leave it out. Just more stuff to document and maintain.

Agreed.

> if people start clamouring for included hgrcs from parent repos, we
> can always add the option

I can't see how this could be supported without being a security risk. 
Even if you ask to turn it on, you are exposing yourself to the threat 
of loading config files edited by someone else. Unless you really really 
trust the people who can push to this repo, that is a big hole.



More information about the Mercurial-devel mailing list