319
319
self.parents.append(precursor_id)
320
320
self.parents += pending_merges
321
321
for revision in self.parents:
324
324
self.parent_invs.append(inventory)
325
325
self.present_parents.append(revision)
327
327
def _check_parents_present(self):
328
328
for parent_id in self.parents:
329
329
mutter('commit parent revision {%s}', parent_id)
331
331
if parent_id == self.branch.last_revision():
332
332
warning("parent is missing %r", parent_id)
333
333
raise HistoryMissing(self.branch, 'revision', parent_id)