[REGRESSION] Re: can't pull bundle

Alexander Belchenko bialix at ukr.net
Tue Apr 24 14:30:30 BST 2007


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

Alexander Belchenko пишет:
> Alexander Belchenko ?8H5B:
>> When I try to pull this bundle[1] I get error:
> 
>> Inventory sha hash mismatch for revision robertc at robertcollins.net-20060609141337-4ea84d88e8d4dc0f.
>> 430cf9661d64e943bc4a6e333ee67a4fa7a454d1 != e18233b25d8b2a8a98f92a759329b0323aceccc9
>> bzr: ERROR: Testament did not match expected value.
>>        For revision_id {andrew.bennetts at canonical.com-20070423083030-1mzq93srvd6b3abg}, expected
>> {5e770fb6b106d00dcc92f89317ddf47c26ee51be}, measured
>>        {0d6e80b020b551c26c62499af3ff98d645747ddc}
> 
>> The bundle created with bzr 0.14 + my gzipped_bundle plugin. Any ideas why it fails?
>> I regularly update my mirror of bzr.dev and create bundle to update my home computer,
>> and before it always works OK.
> 
> History continue. I copy my patch with trivial fix for HACKING on my server and try to pull
> it to my http://bzrdev.bialix.com/trivial branch. I got similar error:
> 
> bzr: ERROR: Testament did not match expected value.
>        For revision_id {bialix at ukr.net-20070424083741-efz2jx115ptoeaa1}, expected
> {b459fa9ba096e5f571d0cb52c0e6f1540e8c016f}, measured
>        {4cfab1f4864945b4cf161ecd0c874254bc17c7f3}
> 
> As I see old bzr and new bzr don't understand bundles of each other.
> 
> It's the regression for me. Can we fix it before 0.16 out?

Probably I found the root of the bug.
If you look at the end of bundle with patch for hacking you could see:

# properties:
#   bugs:
#   branch-nick: trivial

The 'bugs' appears in revno.2446, I believe.
Revno.2445 does not have such property.
I uncommit my changes and commit it again with bzr.dev.revno.2445.
Then I did new bundle and it pulled with bzr.0.14 without problem.

2 bundles created with latest bzr.dev and with r2445 here:
http://bzrdev.bialix.com/trivial/

It seems that support for bugs in commit breaks compatibility
in bundles with old bzr.

[µ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGLgZ2zYr338mxwCURAlGvAJwKwazw8kG50MVczEJMU/whyPhZWQCfXQN/
9CoQIDt43dIDdfZd4uDl6I4=
=foi7
-----END PGP SIGNATURE-----



More information about the bazaar mailing list