~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml5.py

  • Committer: Robert Collins
  • Date: 2005-09-30 14:27:41 UTC
  • mto: This revision was merged to the branch mainline in revision 1397.
  • Revision ID: robertc@robertcollins.net-20050930142741-fc326c828b5bbefd
text_version and name_version unification looking reasonable

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        if ie.text_size != None:
54
54
            e.set('text_size', '%d' % ie.text_size)
55
55
 
56
 
        for f in ['text_version', 'text_sha1', 'revision', 
57
 
                  'symlink_target']:
 
56
        for f in ['text_sha1', 'revision', 'symlink_target']:
58
57
            v = getattr(ie, f)
59
58
            if v != None:
60
59
                e.set(f, v)
126
125
                            elt.get('name'),
127
126
                            kind,
128
127
                            parent_id)
129
 
        ie.text_version = elt.get('text_version')
130
128
        ie.revision = elt.get('revision')
131
129
        ie.text_sha1 = elt.get('text_sha1')
132
130
        ie.symlink_target = elt.get('symlink_target')