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

Re: Re: "Split"/divide a project? How to use TSVN right?

From: BRM <bm_witness_at_yahoo.com>
Date: Tue, 4 Jan 2011 06:28:06 -0800 (PST)

----- Original Message ----

> From: Simon Large <simon.tortoisesvn_at_gmail.com>
> On 4 January 2011 10:55, Maia <c1650076_at_pjjkp.com> wrote:
> > Back to topic:
> > I guess, the reason is that what Simon and Oto wrote:
> > Unfortunately, I started Project B and committed on Project A without making
>a copy of Project A and renaming it to B, before beginning the new project.
> >
> > So I just want to split it in that way, to have each one as an own directory
>in the repo and as WC.
> >
> > But I am not sure, how to handle their history? It looks like:
> >
> > May: Project B - modification 2
> > Apr: Begin of Project B - modification 1
> > Mar: Project A - modification 3
> > Feb: Project A - modification 2
> > Jan: Project A - modification 1
> >
> > I would like to have the older three entries kept for Project A, and the
>latter two for Project B. If this is not possible, it would be ok, if Project B
>owns all history entries.
>
> In that case it may be easier to keep your current project as project
> B and make a copy from the older version to be project A (show log for
> the project and use the context menu to create branch/tag from
> revision).
>

In alternative:

1. Branch current Project A (the May Project B Mod 2) as Project B. (svn copy
/projectA/trunk /projectB/trunk)
2. Do a reverse Merge from current trunk (HEAD/whatever revision HEAD works out
to be) to the end of the Mar Project A Mod 3 and commit that to Project A. (svn
merge -r ${HEAD_REV}:${OLD_REV})

As Simon said, it'd be easier to just branch Project A from an older revision of
current trunk and then keep current trunk as Project B.

But that's the two main options. It's just a matter of what you want to keep as
the current trunk. Either way, it is probably easiest to do with TSVN since it
makes it easy to select the revisions/etc with a few simple clicks instead of
having to figure it all out and then figure out to apply it on the command-line
interface.

HTH,

Ben

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2695872

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-01-04 15:28:18 CET

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.