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

How to checkout a partial svn repository?

From: Kirk Black <runesabre_at_familytimeinteractive.com>
Date: 2006-04-19 01:45:39 CEST

Hello,

I'm using svn to manage all my project files, including files I want
available on a website. What I would like to do is to checkout part of a
svn repository on this website and be able to do a svn update thereafter
without having any portions I did not explicitly checkout showing up later.
I've tried manually checking out each sub-directory I want from svn but as
soon as I issue a svn update at the top level directory, the other
directories are then included and updated. I've tried manually removing
write access from the directories I don't want to update but then svn simply
stops updating everything and complains about a missing file lock.

Here is an example of what I'm wanting to do.

My repository looks like below:
foo
foo/project1
foo/project1/data
foo/project1/exe
foo/project1/source_code
foo/project2
foo/project2/data
foo/project2/exe
foo/project2/source_code

On my website I want to make all data and exe folders available but not the
source_code directories.
foo
foo/project1
foo/project1/data
foo/project1/exe
foo/project2
foo/project2/data
foo/project2/exe

Once checked out and excluding all the source_code folders, I would like to
thereafter change to folder foo on my webserver machine and do a single "svn
update" and have all the sub-folders update without ever having the
source_code folders included.

I appreciate any help.

Kirk Black
Owner / Developer / Administrator
Family Time! Interactive, L.L.C.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 19 16:28:32 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.