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

Re: Exclude a directory from a copy.

From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Wed, 22 Jun 2011 22:19:50 -0500

On Jun 22, 2011, at 21:01, Gavin Baumanis wrote:

> Hi there everyone,
>
> I am just wondering if there is a short-hand way of excluding a directory from a copy?
>
> I am wanting to create a branch from the trunk - but omit a specific directory from the copy as it contains about 1GB of binary data that are not required for the work that will be occurring in the branch.
>
> I can manually do it, by doing a WC->WC copy and then simply deleting the sub-directory that I don't need, prior to committing the branch.
> But I thought I would ask if there was a smarter and more efficient way to do it first.

That should work. Since Subversion copies are efficient, the above shouldn't be a waste of space. You would only need to watch out that when you merge the branch back, that you don't end up accidentally removing this directory from the trunk as well.
Received on 2011-06-23 05:20:40 CEST

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