[svk-devel] [PATCH] giving $SVKROOT priority over .svk/
Bernhard Weisshuhn
bkw at weisshuhn.de
Thu Feb 22 17:44:16 EST 2007
On Thu, Feb 22, 2007 at 04:09:21PM -0500, Daniel Jacobowitz <drow at false.org> wrote:
> 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.
OK, I obviously misunderstood its meaning. I never used floating
checkouts, so this may well explain my confusion. I guess I'll have to
learn to like $SVKROOT only being obeyed when there is no ./.svk, like
as you said in $HOME.
Please excuse the noise and bear with me, my next mail will another
suspected bug, and I hope this does not turn out as a pilot error
again :-)
Thanks for the feedback,
bkw
More information about the svk-devel
mailing list