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

Re: Create a new working copy by cloning a subtree of an existing working copy?

From: Geoff Hoffman <ghoffman_at_cardinalpath.com>
Date: Tue, 20 Dec 2011 09:05:59 -0700

On Tue, Dec 20, 2011 at 9:01 AM, Cooke, Mark <mark.cooke_at_siemens.com> wrote:

> > -----Original Message-----
> > From: Geoff Hoffman [mailto:ghoffman_at_cardinalpath.com]
> > Sent: 20 December 2011 15:59
> > To: Kuno Meyer
> > Cc: users_at_subversion.apache.org
> > Subject: Re: Create a new working copy by cloning a subtree
> > of an existing working copy?
> >
> > On Tue, Dec 20, 2011 at 7:44 AM, Kuno Meyer <kuno.meyer_at_gmx.ch> wrote:
> >
> >
> > With SVN 1.7, is there a way to create a new working
> > copy by cloning a subtree
> > of an existing working copy?
> >
> > For example:
> > - Already checked out:
> > wc1/
> > wc1/.svn
> > wc1/src
> > wc1/data
> > wc1/data/bin1
> >
> > - Desired: a new working copy of just the "data/" subtree:
> > wc2/
> > wc2/.svn
> > wc2/bin1
> >
> > A reason of doing this could be to improve performance.
> >
> > Thanks,
> > Kuno
> >
> > I believe if you simply copy the desired folder to a new
> > location on your hard drive (nothing to do with SVN) you'll
> > have what you want.
> >
> That used to work pre 1.7 (as an unintended side-effect of the older
> working copy structure) but the new working copy structure (that moves all
> .svn data into the root directory) stops that from working... That's now
> like "export"ing the sub-folder.
>
> ~ mark c
>

Wow, good to know. Thanks Mark.
Received on 2011-12-20 17:06:36 CET

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