do not stack on unmirrored branches

Bug #346180 reported by Robert Collins
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Jonathan Lange

Bug Description

Launchpad should not tell bzr to stack on a branch that doesn't have a
local mirror.

This affects the control file generation, and also limitting
type-changes for branches that are stackedupon.

 affects launchpad-bazaar

I'm tempted to say this is critical...

11:16 < johnf> when checking out lp:~bzr/bzr-svn/beta-ppa-gutsy
11:16 < johnf> bzr: ERROR: Not a branch: "bzr
+ssh://bazaar.launchpad.net/~jelmer/bzr-svn/0.5/"
11:17 < johnf> launchpad says it's stacked on
lp:~jelmer/bzr-svn/0.5-mirrored
11:18 < jelmer> hmm, that's because lp:~jelmer/bzr-svn/0.5/ is now a
"remote branch"
11:18 < jelmer> it used to be a "mirror branch", mirrorring the URL
that's now mirrorred by lp:~jelmer/bzr-svn/0.5-mirrored

Revision history for this message
Jonathan Lange (jml) wrote :

I think this bug is mis-filed.

Did the beta-ppa-gutsy branch get pushed up after jelmer made the branch 'remote'? If so, this bug is filed correctly. If not, the actual bug is that we allow stacked-on branches to be turned into remote branches.

Changed in launchpad-bazaar:
importance: Undecided → Medium
status: New → Incomplete
tags: added: branch-stacking
Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 346180] Re: do not stack on unmirrored branches

On Sat, 2009-03-21 at 09:21 +0000, Jonathan Lange wrote:
> I think this bug is mis-filed.
>
> Did the beta-ppa-gutsy branch get pushed up after jelmer made the branch
> 'remote'?

The state in lp of the involved branches is no longer what it was when I
filed it - I asked jelmer to change things so the branch worked again :P

> If so, this bug is filed correctly. If not, the actual bug is
> that we allow stacked-on branches to be turned into remote branches.

There are two issues which I thought I gathered in the report: turning
stacked-on branches into remote ones; and secondly (not possible now,
but in 1.14 frame) having a remote branch as the default stacking
branch.

-Rob

Revision history for this message
Jonathan Lange (jml) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, Mar 21, 2009 at 8:43 PM, Robert Collins wrote:
> On Sat, 2009-03-21 at 09:21 +0000, Jonathan Lange wrote:
>> I think this bug is mis-filed.
>>
>> Did the beta-ppa-gutsy branch get pushed up after jelmer made the branch
>> 'remote'?
>
> The state in lp of the involved branches is no longer what it was when I
> filed it - I asked jelmer to change things so the branch worked again :P
>

This doesn't answer my question.

>> If so, this bug is filed correctly. If not, the actual bug is
>> that we allow stacked-on branches to be turned into remote branches.
>
> There are two issues which I thought I gathered in the report: turning
> stacked-on branches into remote ones; and secondly (not possible now,
> but in 1.14 frame) having a remote branch as the default stacking
> branch.
>

That brings the count of issues in this report up to three: the two
you mention here, and having the default stacked-on branch set to a
remote branch.

jml
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.5)

iEYEARECAAYFAknEul0ACgkQX+0xPtMTonyiTQCfSKm3kTyf2epJ4yE1mtHOuBuU
0HAAnj44mq6IoOcxTYWOFQLacvp3F7y9
=Xenn
-----END PGP SIGNATURE-----

Revision history for this message
Robert Collins (lifeless) wrote :

On Sat, 2009-03-21 at 09:58 +0000, Jonathan Lange wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Sat, Mar 21, 2009 at 8:43 PM, Robert Collins wrote:
> > On Sat, 2009-03-21 at 09:21 +0000, Jonathan Lange wrote:
> >> I think this bug is mis-filed.
> >>
> >> Did the beta-ppa-gutsy branch get pushed up after jelmer made the branch
> >> 'remote'?
> >
> > The state in lp of the involved branches is no longer what it was when I
> > filed it - I asked jelmer to change things so the branch worked again :P
> >
>
> This doesn't answer my question.

'No'.

> >> If so, this bug is filed correctly. If not, the actual bug is
> >> that we allow stacked-on branches to be turned into remote branches.
> >
> > There are two issues which I thought I gathered in the report: turning
> > stacked-on branches into remote ones; and secondly (not possible now,
> > but in 1.14 frame) having a remote branch as the default stacking
> > branch.
> >
>
> That brings the count of issues in this report up to three: the two
> you mention here, and having the default stacked-on branch set to a
> remote branch.

isn't "having the default stacked-on branch set to a remote branch." ==
"having a remote branch as the default stacking branch."

-Rob

Revision history for this message
Jonathan Lange (jml) wrote :
Revision history for this message
Jonathan Lange (jml) wrote :

The above mentioned branch fixes the bug -- we don't let remote branches be recommended as default stacked-on branches. We never recommended that unmirrored branches be stacked on, so the bug title is incorrect. Bug 348732 is filed to track the issue of changing an existing stacked-on branch to be remote.

Changed in launchpad-bazaar:
status: Incomplete → Fix Committed
Jonathan Lange (jml)
Changed in launchpad-bazaar:
assignee: nobody → jml
milestone: none → 2.2.3
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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