journalled inventories

Martin Pool mbp at sourcefrog.net
Thu Oct 25 23:19:59 BST 2007


Robert explained that these wouldn't be rewritten during repack
operations, so once a commit is generated, at least within this format
we'd expect it to keep the same inventory validator.

It would be pretty cool indeed if specified-files commit really could
not need to work on the unchanged parts of the tree at all.

We should consider two ways other than commit when inventories get
generated: converting from other vcs's, and converting from prior bzr
formats.  Making the hash of the newly-generated validator depend on
the representation of previous inventories has two risks there.  One
is that converters can't just say "this is the representation of
foreign inventory X" without replaying (part of) history up to that
point.  Secondly, it would be unfortunately if the heuristic caused
two upgrades of identical inventories to get different representations
or validators.  The representation and validator should be the same
IFF the input inventory is the same (modulo hash collisions.)



More information about the bazaar mailing list