~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml5.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-12-12 00:25:28 UTC
  • mfrom: (2102.4.4 revision_ms)
  • Revision ID: pqm@pqm.ubuntu.com-20061212002528-87297ad66899257e
(John Arbash Meinel) Switch the XML5 serializer to use millisecond timestamps

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',