~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/chk_serializer.py

  • Committer: Jelmer Vernooij
  • Date: 2009-06-09 00:59:51 UTC
  • mto: (4443.1.1 bzr.dev)
  • mto: This revision was merged to the branch mainline in revision 4444.
  • Revision ID: jelmer@samba.org-20090609005951-apv900cdk35o2ygh
Move squashing of XML-invalid characters to XMLSerializer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
    """Simple revision serializer based around bencode.
51
51
    """
52
52
 
 
53
    squashes_xml_invalid_characters = False
 
54
 
53
55
    # Maps {key:(Revision attribute, bencode_type, validator)}
54
56
    # This tells us what kind we expect bdecode to create, what variable on
55
57
    # Revision we should be using, and a function to call to validate/transform