Pushing from 2a repository to Launchpad fails -- but only in some situations

Russel Winder russel.winder at concertant.com
Wed Jul 22 18:37:40 BST 2009


Aaron,

Your patience and explanations beget peace, and tranquillity.  Thanks.

> > The problem is Launchpad -- I cannot see a button that allows me to "bzr
> > upgrade --2a" on a branch stored on Launchpad.  This therefore, at a
> > stroke, renders Launchpad useless to me.
> 
> "bzr upgrade" works for Launchpad-hosted branches just as it works
> everywhere else.  We have done some work to provide an upgrade button as
> well, but it is not ready yet.

Hummm... I was being a dork.

I can of course use commands on this machine to manage branches in
Launchpad.  I knew that, so why didn't I just do it :-(

I have now run the upgrade and Launchpad reports:

        Project: SCons_LaTeX
        Status: Experimental
        Get this branch: bzr branch lp:scons-latex
        Update this branch: bzr push lp:scons-latex
        Branch format: Branch format 7
        Repository format: Development repository format - rich roots, group compression and chk inventories

Proper job.

> > Not even "bzr push --overwrite" works, which is getting me a bit riled.
> 
> push --overwrite does not do that in any context.  push --overwrite lets
> you push even when the target branch has revisions in its history not
> present in the source branch's ancestry.

OK, I had managed to convince myself that --overwrite was more
aggressive and fascist than it actually is.  On reflection, I suspect it
is probably a very good idea that it isn't.  No problem there then.

> > I guess I am going to have to remove all branches and recreate from
> > scratch so as to try and get 2a format branches.
> 
> You can delete the .bzr directories of branches from Launchpad using an
> sftp client, or lp:hitchhiker.  You can then re-push using --use-existing.

Cool.  But unnecessary :-) "bzr upgrade --2a . . . " works just fine,
which is good.

I guess the only problemette is that there is a backup.bzr that I need
to get rid of.

> > Hummm... I guess I am
> > assuming Launchpad is running a Bazaar that support 2a format.  This
> > might get depressing :-(
> 
> Launchpad does support 2a format.  In fact, the source code to Launchpad
> is stored in 2a format.

I was fairly confident that Launchpad was actually bang up-to-date with
format support.

Thanks.

-- 
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: russel at russel.org.uk
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:russel.winder at ekiga.net
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090722/5514a228/attachment-0001.pgp 


More information about the bazaar mailing list