~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/groupcompress_repo.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-06-05 02:46:38 UTC
  • mfrom: (4398.5.20 bencode_serializer)
  • Revision ID: pqm@pqm.ubuntu.com-20090605024638-fe5tn388osc38jvw
(bialix, jelmer, jam) Pyrex bencode and --development7-rich-root

Show diffs side-by-side

added added

removed removed

Lines of Context:
1049
1049
                'Does not support nested trees', target_format)
1050
1050
 
1051
1051
 
 
1052
 
 
1053
class RepositoryFormatCHK2(RepositoryFormatCHK1):
 
1054
    """A CHK repository that uses the bencode revision serializer."""
 
1055
 
 
1056
    _serializer = chk_serializer.chk_bencode_serializer
 
1057
 
 
1058
    def _get_matching_bzrdir(self):
 
1059
        return bzrdir.format_registry.make_bzrdir('development7-rich-root')
 
1060
 
 
1061
    def _ignore_setting_bzrdir(self, format):
 
1062
        pass
 
1063
 
 
1064
    _matchingbzrdir = property(_get_matching_bzrdir, _ignore_setting_bzrdir)
 
1065
 
 
1066
    def get_format_string(self):
 
1067
        """See RepositoryFormat.get_format_string()."""
 
1068
        return ('Bazaar development format - chk repository with bencode '
 
1069
                'revision serialization (needs bzr.dev from 1.15)\n')
 
1070
 
 
1071