join drops tags on the floor
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
High
|
Unassigned | ||
Breezy |
Triaged
|
Medium
|
Unassigned |
Bug Description
When `bzr join` attaches a branch, it doesn't bring over that branch's tags, which disappear off into the ether.
Output of script:
[...]
+ /usr/local/bin/bzr --no-plugins --no-aliases tag B1_TAG
Created tag B1_TAG.
+ /usr/local/bin/bzr --no-plugins --no-aliases tags -d B
B1_TAG 1
+ /usr/local/bin/bzr --no-plugins --no-aliases join B
renamed file://
+ /usr/local/bin/bzr --no-plugins --no-aliases ci -m join
Committing to: /tmp/bzr/t/A/
added B
Committed revision 2.
+ /usr/local/bin/bzr --no-plugins --no-aliases tags
[nothing]
Script:
#!/bin/sh -x
bzr="/usr/
${bzr} init A
(
# Setup
cd A ; \
${bzr} ci --unchanged -m a1 ; \
${bzr} init B ; \
(
cd B ; \
${bzr} ci --unchanged -m b1; \
${bzr} tag B1_TAG ; \
) ; \
# See tag
${bzr} tags -d B ; \
${bzr} join B ; \
${bzr} ci -m join ; \
# No see tag
${bzr} tags
)
tags: | added: join tags |
tags: | added: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | removed: check-for-breezy |
I guess this is closely related to bug 309682. If we're lucky it's already fixed by <https:/ /code.launchpad .net/~spiv/ bzr/fetch- tags-from- non-sprout- too/+merge/ 42911>.