~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml4.py

  • Committer: Joe Julian
  • Date: 2010-01-10 02:25:31 UTC
  • mto: (4634.119.7 2.0)
  • mto: This revision was merged to the branch mainline in revision 4959.
  • Revision ID: joe@julianfamily.org-20100110022531-wqk61rsagz8xsiga
Added MANIFEST.in to allow bdist_rpm to have all the required include files and tools. bdist_rpm will still fail to build correctly on some distributions due to a disttools bug http://bugs.python.org/issue644744

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
    ElementTree,
20
20
    SubElement,
21
21
    XMLSerializer,
 
22
    escape_invalid_chars,
22
23
    )
23
24
from bzrlib.inventory import ROOT_ID, Inventory, InventoryEntry
24
25
import bzrlib.inventory as inventory
125
126
        root.text = '\n'
126
127
 
127
128
        msg = SubElement(root, 'message')
128
 
        msg.text = rev.message
 
129
        msg.text = escape_invalid_chars(rev.message)[0]
129
130
        msg.tail = '\n'
130
131
 
131
132
        if rev.parents: