~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/chk_serializer.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-06-15 20:11:32 UTC
  • mfrom: (4443.1.2 bzr.dev)
  • Revision ID: pqm@pqm.ubuntu.com-20090615201132-p32zthmt3rjn2tfk
(Jelmer) 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