[RFC] upgrade ordering & UI

Ian Clatworthy ian.clatworthy at internode.on.net
Fri May 15 01:00:00 BST 2009

John Arbash Meinel wrote:
> Ian Clatworthy wrote:

>> In particular, if you now pass upgrade the URL of a shared repo, it should:
>> 1. upgrade the shared repo
>> 2. upgrade dependent stacked branches
> How does it find the stacked branches? Search your entire hard drive for
> anything pointing at $REPO ?

No, it recurses downwards from the shared-repo using
repo.find_branches(). It then works out which ones are stacked vs otherwise.

> Stacking breaks when the serialization format changes. So you can go
> 0.92 => 1.6 => 1.9 => 1.14 (same repo), but you can't go 0.92 =>
> rich-root, or 0.92 => dev6, or rich-root => dev6.

> The 'fix' is to do stacking at the logical object level, where Inventory
> objects are meant to be the same, rather than at the 'bytes' level.

Is anyone planning to work on this prior to 2.0?

Ian C.

More information about the bazaar mailing list