/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

Add roundtrip tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
224
224
    commit._committer = rev.committer.encode("utf-8")
225
225
    commit._author = rev.get_apparent_authors()[0].encode("utf-8")
226
226
    commit._commit_time = long(rev.timestamp)
227
 
    if 'author-time' in rev.properties:
228
 
        commit._author_time = long(rev.properties['author-time'])
 
227
    if 'author-timestamp' in rev.properties:
 
228
        commit._author_time = long(rev.properties['author-timestamp'])
229
229
    else:
230
230
        commit._author_time = commit._commit_time
231
231
    commit.serialize()