/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: John Arbash Meinel
  • Date: 2009-06-17 19:10:35 UTC
  • mfrom: (4454 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4461.
  • Revision ID: john@arbash-meinel.com-20090617191035-0vztgazsdwa3mwg4
Merge bzr.dev 4454 in prep for NEWS

Show diffs side-by-side

added added

removed removed

Lines of Context:
1107
1107
    def get_format_string(self):
1108
1108
        """See RepositoryFormat.get_format_string()."""
1109
1109
        return ('Bazaar development format - chk repository with bencode '
1110
 
                'revision serialization (needs bzr.dev from 1.15)\n')
1111
 
 
1112
 
 
 
1110
                'revision serialization (needs bzr.dev from 1.16)\n')
 
1111
 
 
1112
 
 
1113
class RepositoryFormat2a(RepositoryFormatCHK2):
 
1114
    """A CHK repository that uses the bencode revision serializer.
 
1115
    
 
1116
    This is the same as RepositoryFormatCHK2 but with a public name.
 
1117
    """
 
1118
 
 
1119
    _serializer = chk_serializer.chk_bencode_serializer
 
1120
 
 
1121
    def _get_matching_bzrdir(self):
 
1122
        return bzrdir.format_registry.make_bzrdir('2a')
 
1123
 
 
1124
    def _ignore_setting_bzrdir(self, format):
 
1125
        pass
 
1126
 
 
1127
    _matchingbzrdir = property(_get_matching_bzrdir, _ignore_setting_bzrdir)
 
1128
 
 
1129
    def get_format_string(self):
 
1130
        return ('Bazaar repository format 2a (needs bzr 1.16 or later)\n')