~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/pack_repo.py

  • Committer: Martin Pool
  • Date: 2009-08-14 11:11:29 UTC
  • mto: (4599.4.26 bug-398668)
  • mto: This revision was merged to the branch mainline in revision 4622.
  • Revision ID: mbp@sourcefrog.net-20090814111129-ozigh3o0jjfojiix
Remove redundant overrides of check_conversion_target

Show diffs side-by-side

added added

removed removed

Lines of Context:
2529
2529
        """See RepositoryFormat.get_format_description()."""
2530
2530
        return "Packs containing knits without subtree support"
2531
2531
 
2532
 
    def check_conversion_target(self, target_format):
2533
 
        pass
2534
 
 
2535
2532
 
2536
2533
class RepositoryFormatKnitPack3(RepositoryFormatPack):
2537
2534
    """A subtrees parameterized Pack repository.
2647
2644
        """See RepositoryFormat.get_format_description()."""
2648
2645
        return "Packs 5 (adds stacking support, requires bzr 1.6)"
2649
2646
 
2650
 
    def check_conversion_target(self, target_format):
2651
 
        pass
2652
 
 
2653
2647
 
2654
2648
class RepositoryFormatKnitPack5RichRoot(RepositoryFormatPack):
2655
2649
    """A repository with rich roots and stacking.
2771
2765
        """See RepositoryFormat.get_format_description()."""
2772
2766
        return "Packs 6 (uses btree indexes, requires bzr 1.9)"
2773
2767
 
2774
 
    def check_conversion_target(self, target_format):
2775
 
        pass
2776
 
 
2777
2768
 
2778
2769
class RepositoryFormatKnitPack6RichRoot(RepositoryFormatPack):
2779
2770
    """A repository with rich roots, no subtrees, stacking and btree indexes.