~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.py

Merge deprecate-get-backup-name into orphan-config-option

Show diffs side-by-side

added added

removed removed

Lines of Context:
524
524
        return self._available_backup_name(base)
525
525
 
526
526
    def _available_backup_name(self, base):
527
 
        """Find a non-existing backup file name based on base."""
 
527
        """Find a non-existing backup file name based on base.
 
528
 
 
529
        See bzrlib.osutils.available_backup_name about race conditions.
 
530
        """
528
531
        return osutils.available_backup_name(base, self.root_transport.has)
529
532
 
530
533
    def backup_bzrdir(self):