Instead of excluding some directories, you can manually choose which
directories you include in your working copy. I suppose the you want to
avoid checking out a large subtree. Here is what I do in such cases.
Check out the top dir like this
svn co -N http://svn/topdir
This will do a non recursive checkout.
Then I do an update on the subdirectories I want in my wokring copy
Say "topdir" has three sub dirs; "subdir1", "subdir2" and "subdir3". I
only want 1 and 3.
Then I do the following
cd topdir
svn update subdir1
svn update subdir 3
You can even extend it furter down.
If "subdir2" has several subdirs of its own, and you want to check out
one of them, you can
svn update -N subdir2
cd subdir2
svn update subsubdir4
It's not elegant, but it works, and if the directory you want to exclude
is large, it can save you some time and disk space.
Kjell
Rich Knox wrote:
> Some version control systems have an option to exclude certain
> directories in the repository from the local working tree. Does
> subversion have such an option? Thanks.
>
> -rich
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For
> additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 14 10:39:39 2005