bzr upgrade and shared repos

John Arbash Meinel john at arbash-meinel.com
Wed Feb 18 17:12:26 GMT 2009


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

Viktor Nagy wrote:
> I was playing around with upgrade to understand how it works exactly,
> and it was strange to me. So others might find this info useful as well.
> 
> The main conclusions are
> * ``bzr upgrade . --1.9`` on a shared repo won't upgrade your branches
> below the repo.
> * after ``bzr upgrade . --1.9`` creating a new branch shows
> format:unknown for ``bzr info``, but
> * ``bzr upgrade . --1.6`` in the new shared repo actually upgrades to
> 1.9, WITHOUT ANY NOTICE!
> 
> Upgrading a branch without its repo does not affect the repo in any ways.
> 
> V

The branch format 1.6 is identical to the *branch* format 1.9. The
problem is that "bzr info" is giving you the summary of all formats
(repo + branch), which can combine in various ways.

The reason we give "unknown" is because a pack-0.92 branch format with a
1.9 format repository doesn't have a simple combined format name.

John
=:->

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

iEYEARECAAYFAkmcQXoACgkQJdeBCYSNAAM3VQCfS3HbMmJMKLD/spdlHuVOJy69
ZxQAoNDhvxe8vRAlsCwjX6mT9oD3YBe/
=LapN
-----END PGP SIGNATURE-----



More information about the bazaar mailing list