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

Daniel Jacobowitz drow at false.org
Thu Feb 22 16:09:21 EST 2007


On Thu, Feb 22, 2007 at 09:28:44PM +0100, Bernhard Weisshuhn wrote:
> Hello,
> 
> currently svk looks for a directory named '.svk' first and only then
> checks for $ENV{SVKROOT}, which makes using $SVKROOT a lottery.
> 
> The attached trivial patch fixes that.

Why do you want it to do this?  SVKROOT is supposed to be an alternate
location for $HOME/.svk.  $PWD/.svk can be something entirely
different: it only describes a single checkout.

Maybe this is a problem when your $PWD is $HOME?  I don't remember why
find_dotsvk does not check for the floating file - there was some
reason but maybe it wasn't a good one.

-- 
Daniel Jacobowitz
CodeSourcery


More information about the svk-devel mailing list