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

Re: How do I check out a subset of directories

From: Miha Vitorovic <mvitorovic_at_nil.si>
Date: 2006-05-10 21:33:57 CEST

You could use this trick:

Create an empty folder in the repository (named /EMPTY or something like
that). And leave it empty.

Check out entire trunk:

mkdir /home/user/wc
cd /home/user/wc
svn co svn://localhost/Trunk/

    | +---CustomHelp
    | | +---NotConnected
    | | \---SampleStatus
    | \---Icon

Go into the working copy and switch all the directories you don't need to
point to /empty

svn switch svn://localhost/EMPTY Limit_Calculation
svn switch svn://localhost/EMPTY List_Result
svn switch svn://localhost/EMPTY Message
... etc ..

And you have a single working copy containing only files that you need (+
some folders you don't need, but at least they are not taking up any

Now you can update and commit you entire WC and everything would work just
the way it should.


  Miha Vitorovic
  Inženir v tehničnem področju
  Customer Support Engineer
   NIL Data Communications,  Tivolska cesta 48,  1000 Ljubljana,  Slovenia
   Phone +386 1 4746 500      Fax +386 1 4746 501     http://www.NIL.si
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 10 21:35:16 2006

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.