[MERGE] Unique roots for bzr
Robert Collins
robertc at robertcollins.net
Mon Oct 16 02:27:13 BST 2006
On Sat, 2006-10-14 at 07:52 +1000, John Arbash Meinel wrote:
>
> > Unfortunately, MemoryTree doesn't have a persistent inventory-- it's
> > zapped on unlock. So every time we locked, we'd get a different
> root
> > id. I don't understand why it's written this way.
>
> Well, isn't that a problem with the inventory? Yes we get a new
> inventory each time, but IIRC it reads it from the branch. I think it
> was an attempt to move in the direction we want for WorkingTree's,
> where
> we don't load the inventory if we don't have to, and operations flush
> it
> to disk when unlocked, rather than each operation reading it,
> modifying
> it, and writing it out.
Yes, its precisely that: WorkingTree will be refreshing its memory cache
too on lock in the future. I dont see how MemoryTree always having the
Repositories most recent tree as its initial content is a problem. (But
I'm willing to learn).
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061016/d5ed0f62/attachment.pgp
More information about the bazaar
mailing list