/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 repofmt.py

  • Committer: John Arbash Meinel
  • Date: 2009-03-03 02:18:15 UTC
  • mto: (0.17.31 trunk)
  • mto: This revision was merged to the branch mainline in revision 4280.
  • Revision ID: john@arbash-meinel.com-20090303021815-dlqfgperty1bwnv1
Add a rich-root compatible gcr+chk255+rich-root format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
639
639
            return ("Development repository format - hash255chk+groupcompress")
640
640
 
641
641
 
 
642
    class RepositoryFormatPackGCRabinRichRootCHK255(RepositoryFormatPackGCRabinCHK255):
 
643
        """A hashed CHK+group compress pack repository."""
 
644
 
 
645
        rich_root_data = True
 
646
        repository_class = GCRCHKPackRepository
 
647
 
 
648
        def get_format_string(self):
 
649
            """See RepositoryFormat.get_format_string()."""
 
650
            return ('Bazaar development format - hash255chk+gcr rich-root'
 
651
                    ' (needs bzr.dev from 1.13)\n')
 
652
 
 
653
        def get_format_description(self):
 
654
            """See RepositoryFormat.get_format_description()."""
 
655
            return ("Development repository format - hash255chk+groupcompress+rr")
 
656
 
 
657
 
642
658
def pack_incompatible(source, target, orig_method=InterPackRepo.is_compatible):
643
659
    """Be incompatible with the regular fetch code."""
644
660
    formats = (RepositoryFormatPackGCRabin,)