[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Sparse Directories and --set-depth

From: Karl Fogel <kfogel_at_red-bean.com>
Date: Tue, 16 Sep 2008 13:28:49 -0400

Rush Manbert <rush_at_manbert.com> writes:
> Another sparse directories question.
>
> There appears to be no way to use the --set-depth argument to set the
> depth metadata for a directory to "infinity" without also setting the
> depth metadata for all its immediate child directories to "infinity".
>
> What I want to do is set the topmost directory to infinity while not
> changing the depth metadata on its child directories.
>
> Is this really not possible?

It's not possible, because it doesn't make sense, according to
Subversion's idea of depth. If a directory D is at depth 'infinity',
then everything under it is too; that's just the way depth works.

Could you describe the actual behavior you want, without using any of
Subversion's depth words? Then we can say whether or not the precise
arrangement you need is possible using Subversion depths. (It may be
that you can get something close, but not quite exactly what you were
looking for.)

My guess is that you'll want the top-level directory to be at depth
'immediates', and then you'll need to set each of various subdirectories
to the particular depth appropriate for that subdirectory.

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-16 19:29:14 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.