I have some code that is Java EE 5. I want to start porting it to 6.
I was thinking I would do this:
- Make a new empty branch (no code in it).
- Start writing the 6 code on that branch, no rebasing, etc.
- Make topic branches, rebasing/merging to the version branch.
- When it’s done, make a final version branch from master (of the old version) and delete master.
- Make master from the new code.
Does this sound loopy? The project is one war and 2 jar projects. I’d really rather not make 3 new repositories for this.
Ended up making another repository. There is no real reason to try to deliver a completely different codebase from the same repo for one simple reason: no intention of putting any more effort into the Java EE 5 version.