actually, first I would have expected that upgrading the repo will upgrade all its branches as well. Even though I have some ideas why this is not the best thing to have, it might be good to have it implemented with a flag for example.<br>
<br>It would make it much easier to upgrade many branches in a repo.<br><br>V<br>
<br><br><div class="gmail_quote">2009/2/18 John Arbash Meinel <span dir="ltr"><<a href="mailto:john@arbash-meinel.com">john@arbash-meinel.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div><div></div><div class="Wj3C7c"><br>
Viktor Nagy wrote:<br>
> I was playing around with upgrade to understand how it works exactly,<br>
> and it was strange to me. So others might find this info useful as well.<br>
><br>
> The main conclusions are<br>
> * ``bzr upgrade . --1.9`` on a shared repo won't upgrade your branches<br>
> below the repo.<br>
> * after ``bzr upgrade . --1.9`` creating a new branch shows<br>
> format:unknown for ``bzr info``, but<br>
> * ``bzr upgrade . --1.6`` in the new shared repo actually upgrades to<br>
> 1.9, WITHOUT ANY NOTICE!<br>
><br>
> Upgrading a branch without its repo does not affect the repo in any ways.<br>
><br>
> V<br>
<br>
</div></div>The branch format 1.6 is identical to the *branch* format 1.9. The<br>
problem is that "bzr info" is giving you the summary of all formats<br>
(repo + branch), which can combine in various ways.<br>
<br>
The reason we give "unknown" is because a pack-0.92 branch format with a<br>
1.9 format repository doesn't have a simple combined format name.<br>
<br>
John<br>
=:-><br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (Cygwin)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org" target="_blank">http://enigmail.mozdev.org</a><br>
<br>
iEYEARECAAYFAkmcQXoACgkQJdeBCYSNAAM3VQCfS3HbMmJMKLD/spdlHuVOJy69<br>
ZxQAoNDhvxe8vRAlsCwjX6mT9oD3YBe/<br>
=LapN<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br>