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

Re: Excluding directories from checkout

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-02-08 00:47:20 CET

On Feb 7, 2007, at 05:24, Adrian Broadhurst wrote:

> I am working using a very large SVN repository, which needs to be
> accessed remotely on a regular basis. Most users are only
> interested in part of the code base, although all code in the
> repository is active.
>
>
>
> Currently, it is possible to selectively check out individual
> directories, but keeping these all in sync manually is tedious and
> error prone. It would be very useful if a file ‘EXCLUDE’ could be
> placed in the .svn directory, of selective folders, so that in
> future those folders would be treated as if it had not been checked
> out.
>
>
>
> Are there any other ways of excluding directories?

Check out the entire project trunk (or branch, whatever). Yes, I know
you don't want all of it. Once you check it all out, you can "svn
switch" any directories you don't want to an empty directory in the
repository which you can create just for this purpose (svn mkdir
$REPO/empty -m "Making empty directory"). This will reclaim the space
on your local disk, and future updates will be faster.

If there are specific subsets of the repository that people often
work with, you can even tar up such a working copy and make it
available to people via a web site or file server, and all they need
to do is untar in and svn update it to get going.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 8 00:47:45 2007

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.