319
344
self.parents.append(precursor_id)
320
345
self.parents += pending_merges
321
346
for revision in self.parents:
324
350
self.present_parents.append(revision)
326
352
def _check_parents_present(self):
327
353
for parent_id in self.parents:
328
354
mutter('commit parent revision {%s}', parent_id)
330
356
if parent_id == self.branch.last_revision():
331
357
warning("parent is missing %r", parent_id)
332
358
raise HistoryMissing(self.branch, 'revision', parent_id)