join drops tags on the floor

Bug #693533 reported by Matthew Fuller
14
This bug affects 2 people
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:///tmp/bzr/t/A/B/.bzr to .bzr.retired.0
+ /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/local/bin/bzr --no-plugins --no-aliases"

${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: join tags
Revision history for this message
Andrew Bennetts (spiv) wrote :

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>.

Revision history for this message
Matthew Fuller (fullermd) wrote : Re: [Bug 693533] Re: join drops tags on the floor

> If we're lucky it's already fixed by
> <https://code.launchpad.net/~spiv/bzr/fetch-tags-from-non-sprout-too/+merge/42911>.

We're not lucky :(

+ /home/fullermd/src/bzr/tmp/fetch-tags-from-non-sprout-too/bzr --no-plugins --no-aliases ci -m join
Committing to: /tmp/bzr/t/A/
added B
Committed revision 2.
+ /home/fullermd/src/bzr/tmp/fetch-tags-from-non-sprout-too/bzr --no-plugins --no-aliases tags
[nothing]

Jelmer Vernooij (jelmer)
tags: added: join tags
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Jelmer Vernooij (jelmer)
Changed in brz:
status: New → Triaged
importance: Undecided → Medium
tags: removed: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.