/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to git_repository.py

Ignore decoding errors since git doesn't support storing encoding.

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
        rev = revision.Revision(ids.convert_revision_id_git_to_bzr(commit.id))
140
140
        rev.parent_ids = tuple([ids.convert_revision_id_git_to_bzr(p.id) for p in commit.parents])
141
141
        rev.inventory_sha1 = ""
142
 
        rev.message = commit.message
 
142
        rev.message = commit.message.decode("utf-8", "replace")
143
143
        rev.committer = str(commit.committer)
144
144
        rev.properties['author'] = str(commit.author)
145
145
        rev.timestamp = time.mktime(commit.committed_date)