Branch fails from 'pack-0.92' repo to 'rich-root-pack' repo

Aaron Bentley aaron at aaronbentley.com
Fri Aug 29 14:23:49 BST 2008


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

Ben Finney wrote:
> Aaron Bentley <aaron at aaronbentley.com> writes:
> 
>> Ben Finney wrote:
>>> Then what is the "it" which "went into 1.5", and how does it relate to
>>> the above work?
>> "It" was ensuring that all branches, even weird ones like BE can be
>> converted into rich-root formats.
> 
> Based on the above, then, I understand that Bazaar 1.5 should be able
> to convert arbitrary older branches to rich-root formats.

Well, all branches in compatible formats.

> Should that hold for, say, using 'bzr upgrade' to convert a shared
> repository in 'dirstate-with-subtree' format to one of
> 'rich-root-pack' or 'rich-root' format?

No.  The rich-root formats do not support subtrees, so converting from a
subtree format to a rich-root format is deliberately prevented.

However, if you are sure that your dirstate-with-subtree branch doesn't
actually use the subtree feature, then you can work around this using
$ bzr init --rich-root-pack
$ bzr pull ../path-to-existing-branch

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIt/hk0F+nu1YWqI0RAkJUAJ479SJhNgFcDRELWLt54vzrIJMtUACfcUET
ZPer03EFy6u0y1SYDsILAnI=
=Y5O4
-----END PGP SIGNATURE-----



More information about the bazaar mailing list