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

Re: Promote (Not Merge) Branch to Trunk

From: deckrider <deckrider_at_gmail.com>
Date: 2007-06-28 14:38:08 CEST

On 6/28/07, Jamie Jackson <myspamb8@gmail.com> wrote:
> Is there a way to promote a branch to the trunk in one commit? We do not
> care to merge, as the code base is entirely different.

So if you want to replace contents of the trunk with the contents of
the branch, I would check out the trunk, and then do something like
this:

svn merge [trunk url] [branch url]

If the above turns out well, then svn commit.

Or you could svn remove the trunk and rename the branch to the trunk
... I guess it all depends on what you expect later (I'm not really
sure of the expectations surrounding the use of the word 'promote').

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 28 14:38:21 2007

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.