Comment 1 for bug 833693

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 833693] [NEW] bzr push "is not compatible" error, but works the second time

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

On 8/25/2011 1:41 PM, Paul Sladen wrote:
> Public bug reported:
>
> $ bzr push
> lp:~sladen/humanity/lp-832170-dark-on-dark-toolbar-removals Using
> default stacking branch /+branch-id/52463 at
> lp-78786640:///~sladen/humanity bzr: ERROR:
> KnitPackRepository('lp-78786640:///+branch-id/52463/.bzr/repository')
>
>
is not compatible with
> CHKInventoryRepository('lp-78786640:///~sladen/humanity/lp-832170-dark-on-dark-toolbar-removals/.bzr/repository')
>
>
different rich-root support
>
> $ bzr log | less -S $ bzr push
> lp:~sladen/humanity/lp-832170-dark-on-dark-toolbar-removals 3427kB
> 92kB/s | Fetching revisions:Inserting stream:Estimate 12824/12913
> This transport does not update the working tree of:
> bzr+ssh://bazaar.launchpad.net/~sladen/humanity/lp-832170-dark-on-dark-toolbar-removals/.
> See 'bzr help working-trees' for more information. Created new
> branch.
>
> Ideally if it *worked* the second time, it should work the first
> time too. Or alternatively, if it failed the first time, should
> *fail* the second time aswell.
>
> ** Affects: bzr Importance: Undecided Status: New
>

It fails the first time, because it tries to set up a stacked branch,
but cannot because the underlying formats are incompatible.

It works the second time because pushing to a location that has been
initialized does *not* set up stacking. The not-setting-up-stacking is
already a bug.

It sounds like your development focus (lp:humanity) is still in
pack-0.92 format, and you can fix this with "bzr upgrade lp:humanity".

John
=:->

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

iEYEARECAAYFAk5XkdkACgkQJdeBCYSNAAMi+ACgmC3cvR2WJVtbhCs/TOE9kH5J
OPwAniVWmQ33spA8IwFfjUoRF6vcrVa9
=LTAr
-----END PGP SIGNATURE-----