[svk-devel] [PATCH] giving $SVKROOT priority over .svk/

Michael Hendricks michael at ndrix.org
Fri Feb 23 10:55:18 EST 2007


On Thu, Feb 22, 2007 at 07:00:37PM -0500, Daniel Jacobowitz wrote:
> On Thu, Feb 22, 2007 at 03:56:09PM -0700, Michael Hendricks wrote:
> > Bernhard, the point you bring up is a good one.  Daniel referred to
> > find_dotsvk not checking for a "floating file".  At the root of each
> > floating checkout is a .svk directory that contains a file named
> > "floating".  The original find_dotsvk code checked for the existence of
> > this "floating" file to make sure that the .svk directory it found truly
> > belonged to a floating checkout.  This was intended to prevent just the
> > situation you mention.
> > 
> > The cost of checking for the floating file is roughly a couple stat
> > calls.  I can't think of any reason to remove it.  If nobody else
> > remembers, I'll be glad to add it back to the code.
> 
> If I don't, probably no one will - I removed it before I posted the
> final version of floating support.  I think it should be added.

Committed as r2301.

-- 
Michael


More information about the svk-devel mailing list