Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pushing tags not supported #7

Open
vagrantc opened this issue Sep 6, 2014 · 1 comment
Open

pushing tags not supported #7

vagrantc opened this issue Sep 6, 2014 · 1 comment

Comments

@vagrantc
Copy link

vagrantc commented Sep 6, 2014

git-remote-bzr seems to import tags from bzr, but doesn't seem able to push them to bzr:

git push --tags
To bzr::/tmp/tmp.Uz3tBCm7B1/test
! [remote rejected] test-tags -> test-tags (pushing tags not supported)

It's clearly a known issue, don't know how feasible it would be to implement.

It would definitely be nice, as tagging is maybe the only thing I still need to call bzr directly for...

Thanks so much for git-remote-bzr!

live well,
vagrant

mnauw added a commit to mnauw/git-remote-bzr that referenced this issue Oct 23, 2016
@mnauw
Copy link

mnauw commented Oct 23, 2016

Pushing of tags should be now be possible by commit referenced above (and those preceding it, upgrading to latest HEAD in that repo is also recommended).

As each bazaar branch is actually also a repo of its own, in particular, with its own set of tags, git-remote-bzr needs to decide somehow where to push tags to exactly. It applies some heuristics to decide this automatically if possible (such as only one branch involved). If not possible to auto-determine, the environment variable BZR_BRANCH should be set to the target branch.

So, for example, the command would then be:

BZR_BRANCH=master git push --tags origin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants