Call for testing of colocated branch support in

Aaron Bentley aaron at
Wed Feb 22 17:31:54 UTC 2012

Hash: SHA1

On 12-02-20 04:49 PM, Martin Pool wrote:
> On 20 February 2012 21:56, John Arbash Meinel
> <john at> wrote:
>> ...
>>> mbp at joy% bzr push lp:~mbp/launchpad/test-push bzr: ERROR:
>>> Server sent an unexpected error: ('error', 'KeyError', "'Bazaar
>>> meta directory, format 1 (with colocated branches)\\n'") HPSS
>>> calls: 2 (0 vfs)
>>> SmartSSHClientMedium(bzr+ssh://
>>> (which is not so surprising, until support is landed there.)
>>> But, if I try to push into a newly created branch, it seems to
>>> get stacking wrong and to transfer an overly large amount of
>>> data. Digging in to this a bit more, I think it is because
>>> Launchpad (or Bazaar?) doesn't autoconfigure stacking properly
>>> if you create a branch, then separately push to it, which is
>>> probably a bug regardless of colo stuff.
>>> It will be nice when we can use this for repos on lp and get
>>> away from stacking.
>>> I'm pretty sure this is a bug in init, perhaps an old latent
>>> bug: <>
>> I'm pretty sure it is a known bug that an interrupted push
>> creates a .bzr directory, but no branch, such that a second push
>> creates a full branch without stacking.
> Yes, there is that bug, but I'm pretty sure that's not what I'm
> hitting here.
> My bug is:
> 1- bzr init LP_URL   # no interruption or error 2-
> b.get_stacked_on_url() --> None, but it should be the trunk

Strange.  It says it's stacking why I try, but then there's no stacked
config at the end:

$ bzr init lp:~abentley/bzrtools/stack-test
Using default stacking branch /+branch-id/8633 at
Created a standalone branch (format: unnamed)

python -c 'from bzrlib.branch import Branch; print"bzr+ssh://").get_stacked_on_url()'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 3509,
in get_stacked_on_url
    _translate_error(err, branch=self)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 4195,
in _translate_error
    raise translator(err, find, get_path)
bzrlib.errors.NotStacked: The branch
is not stacked.

Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla -


More information about the bazaar mailing list