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

RE: Re: Fixing "checkout -N"? (possible contracting gig)

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-11-10 16:33:12 CET

On Thu, 2005-11-10 at 07:20 -0800, Steve Johnson wrote:
> Is it possible that there's a third workaround that is sort of the
> opposite of your second scenario? Could one start with a skeleton tree
> where all of the leaf nodes are directories that have been "svn
> switch"ed to empty directories, and then selectively switch them back to
> interesting directories? This would avoid the initial pain of checking
> out the whole tree just to throw much of it away.

If you created a reference skeleton tree which people could copy, this
should work. I'm not sure how you'd efficiently create such a skeleton
tree from scratch, although I suppose a careful series of non-recursive
checkout and switch commands would do.

> BTW, I'm assuming that when you say "svn switch" to an empty directory,
> you mean the SAME empty directory over and over.

Correct. The gcc developers keep a /empty-directory at the root of
their repository which people can switch to to simulate a non-recursive

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 10 16:41:23 2005

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