Launchpad push with insane network download

John Arbash Meinel john at arbash-meinel.com
Wed Apr 14 03:45:25 BST 2010


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

Martin (gzlist) wrote:
> On 14/04/2010, Martin (gzlist) <gzlist at googlemail.com> wrote:
>> I'll try deleting the branch via the webinterface and pushing again as
>> you suggest.
> 
> Okay, a clean push works with current bzr.dev trunk, so the cause of
> the brokenness may be fixed already, though trunk can't cope with an
> already bust branch.
> 
> Martin
> 
> 

I forget the conditions required to trigger this. But it is something to
the effect of having a remote bzrdir, but no remote repository. (Either
that or a remote repo with no remote branch.)

When triggered, we push the entire local repository, rather than just
the single branch. (It is a place in fallback code where we pass
'revision_id', but forgot to check:

  if revision_id is None:
    revision_id = branch.last_revision())

This may or may not have been fixed, I think it is still an open bug.

The other possible bug is that if something is already half-initialized,
we may not set up stacking properly. (because we think you already set
up any sort of stacking that you would have wanted.) And if stacking
wasn't set up, then we would push the whole history.

Some thoughts,

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvFLEQACgkQJdeBCYSNAAM+DgCgpkQXyBHpbBHjWITIXpkFk8QK
yX4An2Pu2Cp3bEsRFF2LpyQrSCAniACD
=diqW
-----END PGP SIGNATURE-----



More information about the bazaar mailing list