/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 mapping.py

Merge thin-pack work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
188
188
        git_p = parent_lookup(p)
189
189
        if git_p is not None:
190
190
            commit._parents.append(git_p)
191
 
    commit._message = rev.message.encode("utf-8")
192
 
    commit._committer = rev.committer.encode("utf-8")
193
 
    commit._author = rev.get_apparent_author().encode("utf-8")
 
191
    commit._message = rev.message
 
192
    commit._committer = rev.committer
 
193
    if 'author' in rev.properties:
 
194
        commit._author = rev.properties['author']
 
195
    else:
 
196
        commit._author = rev.committer
194
197
    commit._commit_time = long(rev.timestamp)
195
198
    commit.serialize()
196
199
    return commit