bzr 0.19 generate bundle that is not understandable by 0.18
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Critical
|
Aaron Bentley |
Bug Description
I have no way with bzr 0.19 to generate bundle that will be understandable by bzr 0.18.
I have only bzr 0.18 on my server, and I try to transfer latest changes from my local machine. Unfortunately bzr 0.19 generate new merge-directive format bundle, and I can't see a way to force generation of old format bundle. It's breaks compatibility with older versions of bzr.
When I try to pull bundle I have this error:
[bialix@donkey ~/repo/
bzr: ERROR: bzrlib.
Traceback (most recent call last):
File "/usr/local/
return run_bzr(argv)
File "/usr/local/
ret = run(*run_argv)
File "/usr/local/
return self.run(
File "/usr/local/
branch_from = Branch.
File "/usr/local/
control = bzrdir.
File "/usr/local/
return BzrDir.
File "/usr/local/
redirected)
File "/usr/local/
return action(transport)
File "/usr/local/
transport, _server_
File "/usr/local/
raise errors.
NotBranchError: Not a branch: /webhomes/
bzr 0.18.0 on python 2.5.0.final.0 (freebsd5)
arguments: ['/usr/
** please send this report to <email address hidden>
'bzr bundle' changed to creating merge directives with a new format bundle internally.
They are a lot smaller and more efficient, but older clients will not be able to read them.
As part of the fix for bug #129504, it would be reasonable to change:
'bzr bundle' to be a separate command from 'bzr send'. And we can make it deprecated/hidden.
It should still create Bundle format 8/9, while 'bzr send -o' can generate the new format bundles.
It would be reasonable that 'bzr bundle' to issue a note saying that you can use 'bzr send -o' instead, which will generate a smaller/clearer/etc format.
There are some other incompatibilities. (bzr send *always* requires a target branch, while bzr bundle -r -2..-1 would just generate the bundle to recreate -1 from -2. It is possible that 'bzr send -r -2..-1 .' would do the same)
The new bundle format is pretty clear that you need at least bzr 0.19, since it has that in the header.