165
160
"""Extension point for subclasses to check during serialisation.
167
162
:param inv: An inventory about to be serialised, to be checked.
170
165
if inv.revision_id is None:
172
167
if inv.root.revision is None:
175
170
def _check_cache_size(self, inv_size, entry_cache):
176
171
"""Check that the entry_cache is large enough.