~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

Fix deprecation warnings in test suite.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3020
3020
        from bzrlib import bzrdir
3021
3021
        return bzrdir.format_registry.make_bzrdir('default').repository_format
3022
3022
 
3023
 
    def get_all_formats(self):
 
3023
    def get_all(self):
3024
3024
        from bzrlib.repofmt import weaverepo
3025
 
        return [v for k, v in self.iteritems()] + weaverepo._legacy_formats
 
3025
        all_formats = [self.get(k) for k in self.keys()]
 
3026
        all_formats += weaverepo._legacy_formats
 
3027
        return all_formats
3026
3028
 
3027
3029
 
3028
3030
network_format_registry = registry.FormatRegistry()