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

Re: Copy of a partial tree?

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2007-04-19 16:49:02 CEST

David Glasser wrote:
> On 4/19/07, C. Michael Pilato <cmpilato@collab.net> wrote:
>> If you wish to create a sparse copy, you can still use
>> sparse-directories to
>> assist in this, but it takes just a little more effort. (You need to
>> do a
>> full checkout of the pieces you want to keep, with a depth-zero
>> checkout of
>> any "limbs" you wish to "prune"; schedule those to-be-pruned limbs for
>> deletion, then do a wc-to-repos copy.) Or, ask Karl points out, you
>> can use
>> MUCC, issuing the copy + all the pruning deletions you need in a single
>> transaction.
>
> Does the current implementation give an interface to "schedule those
> to-be-pruned limbs for deletion"?

I should hope so. If my understanding of the sparse directories feature
isn't way off-base, you should be able to build a working copy that has all
the stuff you want, plus files and depth-zero directories you don't want.
Then you'd use 'svn delete' on those files and depth-zero directories you
don't want.

I admit that I'm talking from theory rather than actuality, though.

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Thu Apr 19 16:49:38 2007

This is an archived mail posted to the Subversion Dev mailing list.

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