~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revision.py

  • Committer: Martin Pool
  • Date: 2005-06-20 02:51:50 UTC
  • Revision ID: mbp@sourcefrog.net-20050620025150-da1f6a9bf3a729c2
- more whitespace in XML for Revision

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
 
132
132
        if self.parents:
133
133
            pelts = SubElement(root, 'parents')
 
134
            pelts.tail = pelts.text = '\n'
134
135
            for rr in self.parents:
135
136
                assert isinstance(rr, RevisionReference)
136
137
                p = SubElement(pelts, 'revision_ref')
 
138
                p.tail = '\n'
137
139
                p.set('revision_id', rr.revision_id)
138
140
                if rr.revision_sha1:
139
141
                    p.set('revision_sha1', rr.revision_sha1)