~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 04:52:11 UTC
  • mto: This revision was merged to the branch mainline in revision 1397.
  • Revision ID: robertc@robertcollins.net-20050930045210-1f157d2aaaa73c63
convert name_version to revision in inventory entries

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', 'name_version', 
 
56
        for f in ['text_version', 'text_sha1', 'revision', 
57
57
                  'symlink_target']:
58
58
            v = getattr(ie, f)
59
59
            if v != None:
127
127
                            kind,
128
128
                            parent_id)
129
129
        ie.text_version = elt.get('text_version')
130
 
        ie.name_version = elt.get('name_version')
 
130
        ie.revision = elt.get('revision')
131
131
        ie.text_sha1 = elt.get('text_sha1')
132
132
        ie.symlink_target = elt.get('symlink_target')
133
133
        v = elt.get('text_size')