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

Retroactively branching something / trimmed branches

From: Roger Lipscombe <rogerl_at_1e.com>
Date: 2005-11-01 18:31:03 CET

I forgot to branch before making a bunch of changes to something, so I'm
looking at retroactively branching it. What's the recommended way to do
this? I'm on Windows, so I'm using a mixture of Tortoise and the command
line. I'm thinking that I need to create (and add) a new
branches/Foo-3.0 folder; then I was going to check out trunk (with
-r1234 to get the revision before I made the bunch of changes), then I
was going to use Tortoise to copy the files from 'r1234' into
'branches/Foo-3.0'.

 

Will this work? Is it the simplest way to do this? What should I do
instead?

 

Another (related) question: when creating a branch in the past, I've
simply done svn cp http://svn/repos/trunk
http://svn/repos/branches/Bar-2.0. We have more than one product in
source control, which means that they all get copied into the branch.
This is confusing. However, I can't copy just the product directory,
because it'll be dependent on stuff in the 'Lib' directory. How should I
go about trimming down a branch to only include the stuff really needed
for building a particular version of a product?

 

Regards,

Roger.
Received on Tue Nov 1 18:33:15 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.