[PATCH] Check for .hgrc files in ancestor directories above the repository
Jesse Glick
jesse.glick at sun.com
Thu Jan 10 23:48:28 UTC 2008
Maxim Dounin wrote:
> I never said "creating". The thing I've d[one] more than once is
> examin[e] source tree in other's homedirs.
That makes more sense, though as before this would normally not trigger
loading of the file, since the .hgrc would be owned by someone else.
If this seems like a real issue to people, the files in ancestor
directories could instead be called 'hgrc' (no dot), which would prevent
possible conflicts with ~user/.hgrc, and ensure that ls (without -a)
would make such files immediately visible. In such a case it would just
be necessary to specifically exclude any **/.hg/hgrc - as could happen
with repositories nested inside another repository's .hg directory, for
example versioned MQ storage.
More information about the Mercurial-devel
mailing list