~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/testament.py

  • Committer: John Arbash Meinel
  • Date: 2007-02-18 00:22:24 UTC
  • mto: This revision was merged to the branch mainline in revision 2298.
  • Revision ID: john@arbash-meinel.com-20070218002224-nfsw9ubivr178ahn
Switch all apis over to utf8 file ids. All tests pass

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