I have
/ var / www / cool_codebase at www.example.com And I have
/ var / www / cool_codebase at www.example.net
Codebases for the same web application running on different servers. There is a certain specialization between codes (client bits and beans, etc.), but not too much. One code base has files that another does not have, and vice versa. Some programming bits are also different.
I uploaded each code base to my localhost, and my question is:
How can I combine these two folders into one folder and then transfer it as one “great unified code base” to my SVN?
Should I put each code base in my own SVN repo and then merge these separate repositories? Or can I combine codebases before SVN - for example, using some linux command - and then pass it to SVN?
Any ideas or help are appreciated.
I must add that the end result will be ONE “large unified code base”, which we can deploy to both www.example.com and www.example.net without hiccups.
(PS. Yes, I understand that no matter what I do, I will have to edit some files and make the programming "generic", etc. I am not opposed to this. I'm just looking for ways to automate or semi-automate all this.)
source share