[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: Jones, Clyde C. <clyde.jones_at_thermo.com>
Date: 2006-05-16 18:08:14 CEST

-----Original Message-----
> From: Miha Vitorovic [mailto:mvitorovic@nil.si]
> Sent: Wed 10-May-06 12:33
> To: Jones, Clyde C.
> Cc: users@subversion.tigris.org
> Subject: Re: How do I check out a subset of directories
>
> 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/
>
> +---Trunk
> /.../
> +---Limit_Calculation
> +---List_Result
> +---Message
> +---Report
> +---Resource
> | +---CustomHelp
> | | +---NotConnected
> | | \---SampleStatus
> | \---Icon
> +---Sig_figs
> +---Userfiles
> +---Worksheet
> \---_Custom
> +---Data
> +---Message
> \---Report
>
>
> 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
> space)
>
> Now you can update and commit you entire WC and everything would work just
> the way it should.
>
> Cheers,
>

Doesn't that just create a branch of a subset of folders? With your scheme, in order to make my changes appear in the trunk wouldn't I have to merge my branch? I need the trunk to be updated with my changes.
Would the merge be difficult as the directory trees are very different? That seems to be more work than just checking out three subdirectories independently.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 16 18:11:01 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.