244
262
self.parents.append(precursor_id)
245
263
self.parents += pending_merges
246
264
for parent_id in self.parents:
247
266
if not self.branch.has_revision(parent_id):
248
267
warning("can't commit a merge from an absent parent")
249
268
raise HistoryMissing(self.branch, 'revision', parent_id)