~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml5.py

  • Committer: Robert Collins
  • Date: 2005-10-03 01:42:16 UTC
  • Revision ID: robertc@robertcollins.net-20051003014215-ee2990904cc4c7ad
integrate in Gustavos x-bit patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
            if v != None:
59
59
                e.set(f, v)
60
60
 
 
61
        if ie.executable:
 
62
            e.set('executable', 'yes')
 
63
 
61
64
        # to be conservative, we don't externalize the root pointers
62
65
        # for now, leaving them as null in the xml form.  in a future
63
66
        # version it will be implied by nested elements.
128
131
        ie.revision = elt.get('revision')
129
132
        ie.text_sha1 = elt.get('text_sha1')
130
133
        ie.symlink_target = elt.get('symlink_target')
 
134
        if elt.get('executable') == 'yes':
 
135
            ie.executable = True
131
136
        v = elt.get('text_size')
132
137
        ie.text_size = v and int(v)
133
138