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

Re: Partial checkout

From: Peter Valdemar Mørch <swp5jhu02_at_sneakemail.com>
Date: 2004-09-29 10:57:47 CEST

Bob Peterson bob-at-memento-inc.com |Lists| wrote:

> Our collection of products is grouped into a single folder under
> .../src/trunk, as a wide and flat hierarchy. That is, trunk contains
> 43 folders. I want to check out only some of these and still have
> atomic updates and commits. How?

Ben Collins-Sussman sussman-at-collab.net |Lists| wrote:
> Use svn 1.1. Do a 'svn co -N', then 'svn up foodir' for each value of
> foodir, to make specific dirs appear. That should work for you.

The same question is really pertinent to a a very-flat hierarcy with
many files in just one directory with no subdirectories, and the user
only wants to check out 43 of these *files*.

Will Ben's suggestion to 'svn co -N <dir>' and then 'svn up foo' work if
foo is an individual file? Does 1.1 allow checking out a single *file*
too? (Not at 1.1 yet, I'm affraid)

( I realize this was not the original question and not the question Ben
answered. I've just come across the requirement of only needing one file
among many large files in a single directory in the past and just check
out the entire directory every time, or create separate directories each
containing a single file, just to get around this. )

Peter

-- 
Peter Valdemar Mørch
http://www.morch.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 29 10:58:36 2004

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.