Can't push conflicting tags to remote branch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Unassigned |
Bug Description
There's currently no way to push tags in a way that would overwrite remote tags.
For instance:
[niemeyer@burma ~]% mkdir a
[niemeyer@burma ~]% cd a
[niemeyer@burma ~/a]% bzr init --format=
[niemeyer@burma ~/a]% bzr commit --unchanged -m="Nothing."
Committed revision 1.
[niemeyer@burma ~/a]% bzr tag foo
Created tag foo.
[niemeyer@burma ~/a]% cd ..
[niemeyer@burma ~]% bzr branch a b
Branched 1 revision(s).
[niemeyer@burma ~]% cd a
[niemeyer@burma ~/a]% bzr commit --unchanged -m="Nothing."
Committed revision 2.
[niemeyer@burma ~/a]% bzr tag --force foo
Created tag foo.
[niemeyer@burma ~/a]% bzr push ../b
All changes applied successfully.
Pushed up to revision 2.
Conflicting tags:
foo
[niemeyer@burma ~/a]% bzr push --overwrite ../b
No new revisions to push.
Conflicting tags:
foo
[niemeyer@burma ~/a]% bzr push --overwrite ../b
No new revisions to push.
Conflicting tags:
foo
Changed in bzr: | |
importance: | Undecided → Medium |
status: | Unconfirmed → Confirmed |
The same is true for pulling as well. In this case isn't such a big deal as the tag could be explicitly removed locally, but it'd still be nice to have a flag to force local tags to be replaced on conflicts.