Comment 3 for bug 397183

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 397183] [NEW] bzr branch fetches way too much data with stacked branches

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

Aaron Bentley wrote:
> John A Meinel wrote:
>> Aaron Bentley wrote:
>>> Public bug reported:
>>> I pushed the same branch to launchpad with branch and push, and the
>>> results were dramatically different:
>>> $ bzr branch . :push
>>> created bzr+ssh://~abentley/launchpad/bmp-to-addr/
>>> Its packs direrectory listing:
>>> rw-r--r-- 184M 373e5989a9fde59a76ab9788cfd0b757.pack
>>> $ bzr push bzr+ssh://bazaar.launchpad.net/~abentley/launchpad/bmp-to-addr-pushed
>>> created bzr+ssh://bazaar.launchpad.net/%7Eabentley/launchpad/bmp-to-addr-push/
>>> Its packs directory listing
>>> rw-r--r-- 2.1M 16cb335d253769d5a91504342d819077.pack
>>> rw-r--r-- 3.3M 98765e55aaa396d3fc4114e198db0d42.pack
>>> Both branches are stacked on ~launchpad-pqm/launchpad/db-devel.
>> I would guess that "bzr branch . lp..." isn't respecting the stacked
>> flag at all, and is just pushing up the whole history.
>
> It is reflecting the stacked flag some:
> $ bzr branch . :push
> Using default stacking branch /~launchpad-pqm/launchpad/db-devel at
> bzr+ssh://bazaar.launchpad.net/%7Eabentley/launchpad/
> Created new stacked branch referring to /~launchpad-pqm/launchpad/db-devel.
>
> Aaron

Sure. It could, for example, set the 'stacked-on-url' in the Branch
config, but not actually set a fallback repository on its Repository
object. I'm certainly just guessing, but I think it is a reasonable
guess of where to start looking.

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

iEYEARECAAYFAkpVTNEACgkQJdeBCYSNAANoAgCeMceg+8fh788LiFvPVEDPEYDQ
94QAoIMbX7A4G2ovrQnPUn7L2MWX3B8M
=Hfob
-----END PGP SIGNATURE-----