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

Adopting a branch as trunk

From: Guido Anzuoni <guido.anzuoni_at_kyneste.com>
Date: 2004-12-02 13:52:31 CET

Hi,
I think it works, but just to be sure....

I have a project with the following layout

prj/trunk
prj/tags
prj/branches/2.0

In prj/trunk there is the "1.0" line of development.
In prj/branches/2.0 there is the "2.0" line of development.

At some point in time I what to let the trunk adopt the 2.0 line of
development (i.e stop development on prj/branches/2.0 and continue on
prj/trunk).

Is it safe to do the following ?
svn delete http://myserver/repos/prj/trunk
svn copy http://myserver/repos/prj/branches/2.0
http://myserver/repos/prj/trunk

What happens if I have a wc in sync with the old prj/trunk and I issue a
svn update .
after this "switch" at repos level ?

I have made a little test on a sample repository an it seems to be OK.

Is there anyone who has adopted this practice ?
Is there anyone who has experienced pb with this practice ?

TIA

Guido.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 2 13:55:39 2004

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.