~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/testament.py

mergeĀ fromĀ dirstate

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
 
99
99
    def __init__(self, rev, inventory):
100
100
        """Create a new testament for rev using inventory."""
101
 
        self.revision_id = str(rev.revision_id)
 
101
        self.revision_id = rev.revision_id
102
102
        self.committer = rev.committer
103
103
        self.timezone = rev.timezone or 0
104
104
        self.timestamp = rev.timestamp
166
166
            content_spacer = ' '
167
167
 
168
168
        l = u'  %s %s %s%s%s\n' % (ie.kind, self._escape_path(path),
169
 
                                   unicode(ie.file_id),
 
169
                                   ie.file_id.decode('utf8'),
170
170
                                   content_spacer, content)
171
171
        return l
172
172