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