[PATCH] Check for .hgrc files in ancestor directories above the repository
Matt Mackall
mpm at selenic.com
Fri Jan 11 00:04:38 UTC 2008
On Fri, 2008-01-11 at 02:53 +0300, Maxim Dounin wrote:
> Hello!
>
> On Thu, Jan 10, 2008 at 02:49:09PM -0600, Matt Mackall wrote:
>
> >
> >On Thu, 2008-01-10 at 15:43 -0500, Jesse Glick wrote:
> >> Maxim Dounin wrote:
> >> > the problem will be still here if you trust user under which home you
> >> > are working
> >>
> >> So don't add that user to your trusted list.
> >>
> >> (From my own experience on multiuser Unix servers, I don't think I have
> >> ever created a source tree beneath someone else's home directory, or
> >> even had sufficient permissions to do so - excepting Solaris servers
> >> which have the unfortunate policy of making ~root = /.)
> >>
> >> > or if copied homedir e.g. from other machine.
> >>
> >> Is this really a plausible bug scenario either? I don't think I have
> >> ever made a complete copy of someone else's home directory (except for
> >> administrative backups), or had permissions to do so when not root.
> >
> >Also, this is the same scheme used by at least CVS (and probably
> >others), so I don't think it'll surprise too many folks.
>
> Could you please point out version of CVS which uses this scheme?
> The one I've use doesn't, and the only configuration file it reads
> is ~/.cvsrc. I use:
I may be thinking of ignore files, which is a different matter entirely.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list