What's the proper way to merge two projects in source control software

Posted by Mallow on Programmers See other posts from Programmers or by Mallow
Published on 2014-06-10T21:29:05Z Indexed on 2014/06/11 3:46 UTC
Read the original article Hit count: 292

Filed under:

I'm using Fossil-SCM to maintain my projects. Since I don't work in a team I usually have just a very linear branch of development: 1.0 -> 1.1 -> 1.2

I'm wondering what the procedure is when you have one project who's task is about to be given to a related project. And thereby rendering the first project obsolete. Although I tend to rewrite most of my code if I don't remember having already written it, I still would like to keep the code archived. And I'ld rather not have a fossil repo that just is dead. Can I merge it? Is that the proper way of handling this?

For example the code was extracting data from an excel file in order to format an HTML page. Now, I've convinced my employer to move their excel spreadsheet into a database to decrease redundancy, increase efficiency and yaddy yadda. Since I can now make logical queries that don't have to jump hoops to preform using the database I won't need the extra vbs files that originally manipulated the excel file. Technically I would be porting part of the existing code into the current new project.

Since it already has it's own trunk, would it be advisable to combine the trunk of a different project to this one, and how would I do that exactly??

SO I guess my tree would look like this, and I haven't seen examples of software branching that resemble this inverted tree before so I'm wondering what the norm for a situation like this? It merges at 1.8!!

© Programmers or respective owner

Related posts about fossil-scm