Format compatibility between different version of bzr

John Arbash Meinel john at arbash-meinel.com
Mon Mar 17 15:37:16 GMT 2008


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

Ollie Saunders wrote:
> I've got a couple of bzr repositories that I've created in bzr 1.0.
> I'm thinking of upgrading to bzr 1.3 (when it's done). What is the
> recommended process for doing this?
> 
> Also I've seen fast-import mentioned a couple of times on this list
> but I can't find any documentation for it.
> 

To switch formats, you generally just use "bzr upgrade".

bzr 1.3 should fully support any repositories you created in 1.0.
Especially since (to the best of my knowledge) 1.3 did not include a new
format.

- From time to time we do release a new disk format, which includes some
improvement we could not do with the old format (lately these are
generally performance related, but not always).

We still support all formats that we have ever released (though
technically the bzr-0.0.7 format is upgrade-only).

You certainly shouldn't ever need to do an "export => import". Just a
'bzr upgrade'.

I believe in the next release (1.4?) we will be introducing a new format
because of some feature improvements we want to support. We generally
will introduce the format as supported for at least 1 release before we
switch it on as the "default" format.

Bazaar also has a policy, though, that when you "bzr branch" it
preserves the source format whenever possible. This is to help prevent
"watershedding". Where one user starts to use a new format, which
requires the other users to upgrade to have access to their changes,
etc. So by default bzr preserves the format so people have to actively
chose to upgrade.

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

iD8DBQFH3pArJdeBCYSNAAMRAo01AJ9TX/n/Y7uDzQAe6H1Ccv/J4ILKhgCfesLC
LYfQvbN9EYEISGHzylE1Lxo=
=X/qe
-----END PGP SIGNATURE-----



More information about the bazaar mailing list