Create a new parent branch from two independent existing repositories
Asked by
Torsten Andre
Hey,
I have two independent repositories B and C. For both repositories I have a couple of branches B1, B2, ..., Bn and C1, C2, ...Cn, respectively, in which I regularly pull updates from their parent branch (either B or C). Now I have some duplicate code in B and C, which I like to move to another repository, so I can pull files from the common parent repository A to B and C.
I have :
.....B.......C
...//\....,.//\
..B1B2.C1C2
and I would like to have:
...........A
........./...\
.......B.....C
.....//\....,.//\
..B1B2...C1C2
Is there a way to do this and still be able to merge updates from B to Bn, i.e. will Bn still recognize B as a parent branch?
Thanks for your help.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Bazaar Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jelmer Vernooij
- Solved:
- Last query:
- Last reply:
To post a message you must log in.