Advice needed for re-factoring of repo
From: Joakim Schramm <joakim_at_astrocalc.com>
Date: Fri, 6 May 2011 13:52:59 -0700 (PDT)
I have a repo containing several projects, each organized as trunk, branches and tags. In 2 of the projects I realize I have gone too far in trunk after latest release, working on some stuff that would have fitted better to be branched and later reintegrated. I have done some searching in list so got some idea about how to proceed but not quite sure about the order of doing thing and if it even matters.
I will just bring up the tricky project here as the other is simpler and I should be able to figure it out from getting this right.
So what I want to do, in plain English, is set HEAD of trunk back lets say from r1250 to r1111 (last release), but I don't want to trash r1112 to r1250 but actually split it in 2 branches that can be kept in sync with further development of trunk and later reintegrated separately, each focusing on different things. So now is the question how to best do this re-factoring?
I understand that the basic approach should be something like:
1. Copy trunk to a new branch, but as I want 2 branches out of this, would I better do...
2. Open log for project trunk and select the range of revs (r1112-r1250) I branched and choose "revert these revisions", but then...
I have externals, files only in trunk root, so I guess I have to checkout new stripped trunk, but exclude externals and re-add them set to a proper rev (they all comes from a "shared" project in repo). Then commit?
I think I have figured it out somewhat, but among other things I am unsure about the order to commit things, and of course which approach that is best to follow for the branches.
This post by Stefan gave some insight of te way to go: http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2409876&orderBy=createDate&orderType=desc
Thanks for help,
Joakim
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
|
This is an archived mail posted to the TortoiseSVN Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.