git-bzr-ng icon indicating copy to clipboard operation
git-bzr-ng copied to clipboard

branch bzr from the most relevant branch when pushing a new bzr branch

Open termie opened this issue 15 years ago • 1 comments

right now we always branch from master when we push a new branch, what we should do is figure out what the bzr tracking branch for the git branch we made a new git branch from was and bzr branch from that.

In more diagrammy words, if I do:

git clone lp:nova cd nova git import lp:~termie/nova/test_branch git checkout test_branch git checkout -b branch_based_on_test_branch git bzr push lp:~termie/nova/branch_based_on_test_branch

what will actually happen right now is that it will push a branch based on lp:nova rather than a branch based on lp:~termie/nova/test_branch

termie avatar Jul 27 '10 16:07 termie

added a feature to git bzr push, --parent_branch that lets you specify which branch to branch from, ideally we could infer this instead of having to specify it so leaving this issue open

termie avatar Aug 19 '10 22:08 termie