~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-15 19:04:38 UTC
  • mfrom: (4416.5.1 bzr.dev)
  • mto: This revision was merged to the branch mainline in revision 4444.
  • Revision ID: jelmer@samba.org-20090615190438-3yy3e0gviyej2rtv
Merge in patch to squash XML invalid characters in serializer.

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