68
88
raise AssertionError("Commit object can't be None")
69
89
rev = ForeignRevision(commit.id, self, self.revision_id_foreign_to_bzr(commit.id))
70
90
rev.parent_ids = tuple([self.revision_id_foreign_to_bzr(p) for p in commit.parents])
72
92
rev.committer = str(commit.committer).decode("utf-8", "replace")
73
93
if commit.committer != commit.author:
74
94
rev.properties['author'] = str(commit.author).decode("utf-8", "replace")