~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Jelmer Vernooij
  • Date: 2012-06-26 12:58:22 UTC
  • mto: This revision was merged to the branch mainline in revision 6528.
  • Revision ID: jelmer@samba.org-20120626125822-imy4vuj1iw190tko
Remove deprecated RepositoryFormat.register_format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1694
1694
        """True if this format supports leaving locks in place."""
1695
1695
        return False # by default
1696
1696
 
1697
 
    @classmethod
1698
 
    @deprecated_method(deprecated_in((2, 4, 0)))
1699
 
    def unregister_format(klass, format):
1700
 
        format_registry.remove(format)
1701
 
 
1702
1697
    def __str__(self):
1703
1698
        return self.get_format_description().rstrip()
1704
1699