Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Create a new remote bzr branch when it doesn't exist on push #8
When pushing, if the remote bzr branch does not exist, this error appears:
I tried patching it, my (failed) attempt is at dequis@7365028 - a bit hacky (getting url from sys.argv) and doesn't really work, other than creating an empty branch that can't get pushed to, while never reporting any errors on "git push":
That short commit hash is my current HEAD commit. It shows this exact same output every time, even if the remote doesn't exist or after running it twice in a row.
I have no idea what I'm doing.
I have a similar problem when I want to contribute to launchpad.
The clone is OK:
Now I create a new
I add my personal not yet existing launchpad repository:
@baby-gnu in your case it looks like you just set the remote wrong. Instead of
referenced this issue
Mar 6, 2015
I'm experiencing this as well. I have cloned the Inkscape repository "lp:inkscape" and want to push either to "lp:~inkscape.dev/inkscape/<new_branch_name>" or "lp:~christoffer-holmstedt/inkscape/<new_branch_name>". Adding them as remote and then pushing doesn't work.
If this doesn't work I'm not sure which workflows are supported with the git-remote-bzr helper. I will have to look into this later on.
I was just trying to figure out this issue. I would like to push a PR to a launchpad project, but given a remote like:
Attempts to push my changes:
I ended up just using the
Once the remote branch was created I am able to pushand pull without a problem using
added a commit
Oct 23, 2016
The above commit (supported by preceding ones) will now create a branch when needed on push. As such, the following launchpad workflow is possible using
Note that the remote url will have to contain the full branch name (as also mentioned in earlier comments). Upgrading to latest HEAD in that commit's repo additionally supports the following:
While the difference is marginal, it is is slightly cleaner in that the