~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.py

  • Committer: Patch Queue Manager
  • Date: 2012-03-14 14:39:16 UTC
  • mfrom: (6027.1.18 deprecations)
  • Revision ID: pqm@pqm.ubuntu.com-20120314143916-dggf9d1d26j3kizq
(vila) Remove some code deprecated in series older than 2.4 (inclusive)
 (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
465
465
                    stacked=stacked)
466
466
        return result
467
467
 
468
 
    @deprecated_method(deprecated_in((2, 3, 0)))
469
 
    def generate_backup_name(self, base):
470
 
        return self._available_backup_name(base)
471
 
 
472
468
    def _available_backup_name(self, base):
473
469
        """Find a non-existing backup file name based on base.
474
470
 
1234
1230
    """The known .bzr formats."""
1235
1231
 
1236
1232
    @classmethod
1237
 
    @deprecated_method(deprecated_in((2, 4, 0)))
1238
 
    def register_bzrdir_format(klass, format):
1239
 
        klass.formats.register(format.get_format_string(), format)
1240
 
 
1241
 
    @classmethod
1242
 
    @deprecated_method(deprecated_in((2, 4, 0)))
1243
 
    def unregister_bzrdir_format(klass, format):
1244
 
        klass.formats.remove(format.get_format_string())
1245
 
 
1246
 
    @classmethod
1247
1233
    def probe_transport(klass, transport):
1248
1234
        """Return the .bzrdir style format present in a directory."""
1249
1235
        try: