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

Re: duplicating a working copy

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-11-15 01:40:21 CET

On Nov 15, 2005, at 00:33, Gavin Lambert wrote:

> Quoth Travis McLeskey <mailto:tmcleskey@arc.nasa.gov>:
>> To create two working copies of a repository, is it possible to do
>> one check out one working copy and then make a copy of it? Is this a
>> recommended practice? If not, is it widely used anyway?
> I doubt it's recommended, but I have done it before and it does
> work :)

I doubt there's anything bad about doing it. It's very helpful when
you want to create a new development environment of a project you
already have, because it saves you having to download everything over
the network again; it's just a local operation.

On a Unix system, simply

cp -RPp trunk1 trunk2

If you made changes to trunk1 that you don't want in trunk2, simply

svn revert -R trunk2

Update trunk2 and you're ready to go.

svn update trunk2


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 15 01:42:27 2005

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.