~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml4.py

  • Committer: Aaron Bentley
  • Date: 2005-10-04 04:32:32 UTC
  • mfrom: (1185.12.6)
  • mto: (1185.12.13)
  • mto: This revision was merged to the branch mainline in revision 1419.
  • Revision ID: aaron.bentley@utoronto.ca-20051004043231-40302a149769263b
merged my own changes

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_id', 'text_sha1']:
 
56
        for f in ['text_id', 'text_sha1', 'symlink_target']:
57
57
            v = getattr(ie, f)
58
58
            if v != None:
59
59
                e.set(f, v)
100
100
                            parent_id)
101
101
        ie.text_id = elt.get('text_id')
102
102
        ie.text_sha1 = elt.get('text_sha1')
 
103
        ie.symlink_target = elt.get('symlink_target')
103
104
 
104
105
        ## mutter("read inventoryentry: %r" % (elt.attrib))
105
106