~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/chk_serializer.py

  • Committer: Jelmer Vernooij
  • Date: 2009-05-06 20:46:38 UTC
  • mto: (4398.5.2 bencode_serializer)
  • mto: This revision was merged to the branch mainline in revision 4410.
  • Revision ID: jelmer@samba.org-20090506204638-ffuwisc1d3vc1wwp
Add development7-rich-root format that uses the RIO Serializer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
        self.search_key_name = search_key_name
127
127
 
128
128
 
129
 
class CHKSerializer(RIORevisionSerializer1, xml5.Serializer_v5):
 
129
class CHKSerializer(xml5.Serializer_v5):
130
130
    """A CHKInventory based serializer with 'plain' behaviour."""
131
131
 
132
132
    format_num = '9'
139
139
 
140
140
 
141
141
chk_serializer_255_bigpage = CHKSerializer(65536, 'hash-255-way')
 
142
 
 
143
 
 
144
class CHKRIOSerializer(RIORevisionSerializer1, CHKSerializer):
 
145
    """A CHKInventory and RIO based serializer with 'plain' behaviour."""
 
146
 
 
147
    format_num = '10'
 
148
 
 
149
 
 
150
chk_rio_serializer = CHKRIOSerializer(65536, 'hash-255-way')