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