~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/serializer.py

  • Committer: John Arbash Meinel
  • Date: 2009-07-08 14:37:25 UTC
  • mfrom: (4516 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4517.
  • Revision ID: john@arbash-meinel.com-20090708143725-sc9sjy3mz4cxwxzz
Merge bzr.dev 4516

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
class Serializer(object):
25
25
    """Inventory and revision serialization/deserialization."""
26
26
 
 
27
    squashes_xml_invalid_characters = False
 
28
 
27
29
    def write_inventory(self, inv, f):
28
30
        """Write inventory to a file"""
29
31
        raise NotImplementedError(self.write_inventory)
75
77
format_registry.register_lazy('6', 'bzrlib.xml6', 'serializer_v6')
76
78
format_registry.register_lazy('7', 'bzrlib.xml7', 'serializer_v7')
77
79
format_registry.register_lazy('8', 'bzrlib.xml8', 'serializer_v8')
 
80
format_registry.register_lazy('9', 'bzrlib.chk_serializer',
 
81
    'chk_serializer_255_bigpage')
 
82
format_registry.register_lazy('10', 'bzrlib.chk_serializer',
 
83
    'chk_bencode_serializer')