~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.py

  • Committer: Jelmer Vernooij
  • Date: 2012-03-14 15:26:01 UTC
  • mfrom: (6502 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6503.
  • Revision ID: jelmer@samba.org-20120314152601-cpclw0a3jh3qztgq
Merge bzr.dev.

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: