~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml4.py

  • Committer: Robert Collins
  • Date: 2005-10-03 01:15:02 UTC
  • mfrom: (1092.2.28)
  • Revision ID: robertc@robertcollins.net-20051003011502-f579a509a136b774
mergeĀ fromĀ baz2bzr

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