~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml5.py

  • Committer: John Arbash Meinel
  • Date: 2006-11-12 15:01:27 UTC
  • mto: This revision was merged to the branch mainline in revision 2173.
  • Revision ID: john@arbash-meinel.com-20061112150127-b30998fd8c62c805
Switch to using millisecond resolution in Revision XML

Show diffs side-by-side

added added

removed removed

Lines of Context:
180
180
        """Revision object -> xml tree"""
181
181
        root = Element('revision',
182
182
                       committer = rev.committer,
183
 
                       timestamp = '%.9f' % rev.timestamp,
 
183
                       timestamp = '%.3f' % rev.timestamp,
184
184
                       revision_id = rev.revision_id,
185
185
                       inventory_sha1 = rev.inventory_sha1,
186
186
                       format='5',