Handling branch interdependencies
I have two lines of experimental development in two branches, let's call them A and B. However, I have reached a point in my development that a change in A would effect B. Specifically, if A is implemented, some of B's code will be written one way; if A is not implemented, B will be implemented another way. What is the best way of developing A, B-without-A (pure B) and B-dependent-A where most of the code should be shared between B-without-A and B-dependent-A? If I branch B to create B-dependent-A (let the parent B represent the B-without-A branch) and then merge in A, I will have to keep maintaining 3 branches when really, once I make the A-specific changes to B-dependent-A the development between B and B-dependent-A should be more or less lock-step. If I branch B-dependent-A, make the A-Specific changes and ignore it while I continue B's development, is there any way to connect B to B-dependent-A so that I don't have to keep manually merging B's changes into B-dependent-A? Or is there no "easy way"?
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Bazaar Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: