501
500
:returns: The validator(which is a sha1 digest, though what is sha'd is
502
501
repository format specific) of the serialized inventory.
505
505
_mod_revision.check_not_reserved_id(revision_id)
510
513
inv_lines = self._serialise_inventory_to_lines(inv)
511
514
inv_vf = self.get_inventory_weave()
512
515
return self._inventory_add_lines(inv_vf, revision_id, parents,