[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: Nico Kadel-Garcia <nkadel_at_gmail.com>
Date: Sat, 24 Dec 2011 09:03:33 -0500

On Tue, Dec 20, 2011 at 10:15 AM, Stefan Podskubka <s.podskubka_at_hcs.at> wrote:
> On 20.12.2011 15:44, Kuno Meyer wrote:
>>
>> With SVN 1.7, is there a way to create a new working copy by cloning a
>> subtree
>> of an existing working copy?
>>
> One thing that comes to mind is cloning the existing working copy and then
> performing an svn switch to the subtree.
> However, I don't know exactly how the switch is done and if it performs
> better than a fresh checkout. I suppose it does, since all the files and
> pristines are already in the existing checkout.

*Do not clone with svnadmin hotcopy* for this!!!! Make sure you have a
different uuid, to avoid "split-brain" problems if the working copy is
reset to the original copy by someone who thinks that can work.

Or use hotcopy, but make absolutely sure to change the uuid on the new repo.
Received on 2011-12-24 15:04:07 CET

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.