1440
1440
if not self.is_in_write_group():
1441
1441
raise AssertionError('not in a write group')
1443
1443
# XXX: We assume that every added revision already has its
1444
1444
# corresponding inventory, so we only check for parent inventories that
1445
1445
# might be missing, rather than all inventories.