521
521
# TODO: Make sure that this list doesn't contain duplicate
522
522
# entries and the order is preserved when doing this.
523
523
self.parents = self.work_tree.get_parent_ids()
526
526
if self.branch.repository.has_revision(revision):
527
527
mutter('commit parent revision {%s}', revision)
528
528
inventory = self.branch.repository.get_inventory(revision)