/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/groupcompress_repo.py

  • Committer: Jelmer Vernooij
  • Date: 2009-05-25 22:34:26 UTC
  • mto: (4398.5.2 bencode_serializer)
  • mto: This revision was merged to the branch mainline in revision 4410.
  • Revision ID: jelmer@samba.org-20090525223426-01v9i5iush24to3z
Use bencode rather than rio in the new revision serialiszer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1004
1004
 
1005
1005
 
1006
1006
class RepositoryFormatCHK2(RepositoryFormatCHK1):
1007
 
    """A CHK repository that uses the RIO revision serializer."""
 
1007
    """A CHK repository that uses the bencode revision serializer."""
1008
1008
 
1009
 
    _serializer = chk_serializer.chk_rio_serializer
 
1009
    _serializer = chk_serializer.chk_bencode_serializer
1010
1010
 
1011
1011
    def _get_matching_bzrdir(self):
1012
1012
        return bzrdir.format_registry.make_bzrdir('development7-rich-root')
1018
1018
 
1019
1019
    def get_format_string(self):
1020
1020
        """See RepositoryFormat.get_format_string()."""
1021
 
        return ('Bazaar development format - chk repository with rio revision '
1022
 
                'serialization (needs bzr.dev from 1.15)\n')
 
1021
        return ('Bazaar development format - chk repository with bencode '
 
1022
                'revision serialization (needs bzr.dev from 1.15)\n')
1023
1023
 
1024
1024