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

RE: How to checkout a partial svn repository?

From: Durden, Paul <Paul.Durden_at_avocent.com>
Date: 2006-04-19 16:48:50 CEST

Kirk,
You could create a /foo/website project that had snv:externals for all
the directories you wanted. Then your website working copy would be of
/foo/website.

The book will do a much better job of explaining this, so take a look at
http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.advanced.extern
als

Paul

-----Original Message-----
From: Kirk Black [mailto:runesabre@familytimeinteractive.com]
Sent: Tuesday, April 18, 2006 6:46 PM
To: users@subversion.tigris.org
Subject: How to checkout a partial svn repository?

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

---------------------------------------------------------------------
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:51:23 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.