One more "stupid" question about svn to git migration : ) I have one old svn repo with ~20 projects inside.
/
|-projectA
|-projectB
|-projectC
|....
I want to migrate only projectA with keeping all it's history. Sounds easy : ) But main problem is in structure and revision history inside projectA.
/
|-projectA
| |-trunk
| |-branches
| | |-version 1.0
| | |-version 1.1
| | |-version 1.2
| |-tags
- 2009: we had only "trunk", and all changes where committed to trunk
- 2010: branch version 1.0 was created based on trunk. Commits to trunk and commits to version 1.0 (some customers had version from trunk, some from branch)
- 2011: branch version 1.1 was created based on version 1.0. Commits to trunk, commits to version 1.0 and 1.1
- 2012: branch version 1.2 was created based on version 1.1. Commits to trunk, commits to version 1.0,1.1 and 1.2
Now we are going to upgrade all customers to version 1.2 and to migrate project to git. So what I want to migrate to GIT:
- new trunk of project with history:
- commits to trunk for 2009
- commits to version 1.0 for 2010 (represent as commits to trunk)
- commits to version 1.1 for 2011 (represent as commits to trunk)
- commits to version 1.2 for 2012 (represent as commits to trunk)
What I do not want to migrate:
- tags
- trunk history for period 2010-2012
- version 1.0 history for period 2011-2012
- version 1.1 history for period 2012
Any ideas?