~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.py

(jr) use .format() instead of % for string formatting where there are
 multiple formats in one string to allow for translations (Jonathan Riddell)

Show diffs side-by-side

added added

removed removed

Lines of Context:
633
633
            old_path = self.root_transport.abspath('.bzr')
634
634
            backup_dir = self._available_backup_name('backup.bzr')
635
635
            new_path = self.root_transport.abspath(backup_dir)
636
 
            ui.ui_factory.note(gettext('making backup of %s\n  to %s') % (
 
636
            ui.ui_factory.note(gettext('making backup of {0}\n  to {1}').format(
637
637
                urlutils.unescape_for_display(old_path, 'utf-8'),
638
638
                urlutils.unescape_for_display(new_path, 'utf-8')))
639
639
            self.root_transport.copy_tree('.bzr', backup_dir)