~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Patch Queue Manager
  • Date: 2012-06-26 14:00:58 UTC
  • mfrom: (6526.2.2 rm-register-format)
  • Revision ID: pqm@pqm.ubuntu.com-20120626140058-x12qbjzn5hj18yet
(jelmer) Remove deprecated register_format. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1432
1432
    def __ne__(self, other):
1433
1433
        return not self == other
1434
1434
 
1435
 
    @classmethod
1436
 
    @symbol_versioning.deprecated_method(symbol_versioning.deprecated_in((2, 4, 0)))
1437
 
    def register_format(klass, format):
1438
 
        format_registry.register(format)
1439
 
 
1440
 
    @classmethod
1441
 
    @symbol_versioning.deprecated_method(symbol_versioning.deprecated_in((2, 4, 0)))
1442
 
    def unregister_format(klass, format):
1443
 
        format_registry.remove(format)
1444
 
 
1445
 
    @classmethod
1446
 
    @symbol_versioning.deprecated_method(symbol_versioning.deprecated_in((2, 4, 0)))
1447
 
    def get_default_format(klass):
1448
 
        """Return the current default format."""
1449
 
        return format_registry.get_default()
1450
 
 
1451
1435
    def get_format_description(self):
1452
1436
        """Return the short description for this format."""
1453
1437
        raise NotImplementedError(self.get_format_description)