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

Branch from a branch: moving to a normal branch

From: Jacob Weber <jacob_at_jacobweber.com>
Date: Tue, 3 May 2011 18:30:53 +0000 (UTC)

I normally create branches from trunk, work on them, and eventually
reintegrate them back into trunk.

Sometimes I'll create a branch Y from another branch X, so I can start
with X's code. Normally I'll reintegrate Y into X first, then reintegrate X
into trunk.

Y --> X --> trunk

But what if I want to reintegrate X into trunk first, and I no longer want
Y to depend on X? In other words, I want Y to be a normal branch, so
that I can merge it directly to and from trunk, without going through X.

Y --> trunk
X --> trunk

What should I do? One approach would be to create a new branch, and
merge all of Y's changes into it. But I'd like to keep using Y if possible,
so I don't lose track of its history. Is that possible?

Jacob
Received on 2011-05-03 20:31:35 CEST

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.