[PATCH] Check for .hgrc files in ancestor directories above the repository
Matt Mackall
mpm at selenic.com
Thu Jan 10 14:49:09 CST 2008
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.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list