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

Re: Checking out only specific folders

From: Jason Harrison <harrison_at_koolhausgames.com>
Date: Tue, 11 Mar 2008 10:19:48 -0700

Oogst wrote:
> I have a very large SVN repository (12gb when exported) and not every
> user in my team needs this entire repository. So to save space and
> network bandwidth, I want users to be able to somehow specify which
> folders should be checked out and updated and which should not. I
> could achieve this by having my users do a separate checkout of each
> folder they need, but this means that they would have to do a separate
> update every day for each of these folders as well. Is there a better
> way to do this?
Yesterday I posted my suggestion of how to do this with svn:externals to
point from "Role" folders (or individual team member folders) to the
specific folders that they need access to:

In my case I have arranged the repository like so, with a _Tags, _Trunks
and Roles folders. Roles represent job roles and can share data within
the repository. Svn:externals is used like soft-links to "copy" data
from one Role to another.

_Tags
_Trunk
  + Art
  + Code
Artist
Engineer

Artist has the svn:external properties:
Art svn://repository/project/_Trunk/Art

Engineer has the svn:external properties:
Art svn://repository/project/_Trunk/Art
Code svn://repository/project/_Trunk/Code

(There are several other Roles that I won't get into now).
An svn checkout on the root of the repository gives me a working copy
with directories:

_Tags
_Trunk
  + Art
  + Code
Artist
  + Art
Engineer
  + Art
  + Code

Typically, an Artist or Engineer would only checkout their own directory
of files, not the entire repository. Then they would svn commit their
working copy, which would commit all of the sub folders, AS LONG AS THE
SUBFOLDERS COME FROM THE *SAME* REPOSITORY. Svn will not commit across
repositories.

This may work well, so might the other techniques. I was trying to
minimize the amount of data that needed to be downloaded, clarify where
files are to be put for cross-role communications, and standardize the
repository structure.

-Jason

-- 
Jason Harrison
Video Game Software Engineer
Koolhaus Games Inc.
206 - 896 Cambie Street
Vancouver, B.C. V6B 2P6
Studio Tel: 604 696 9797
Mobile Tel: 604 644 8611
www.koolhausgames.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-03-11 17:20:10 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.