~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.py

  • Committer: Jonathan Riddell
  • Date: 2011-09-19 15:59:40 UTC
  • mto: This revision was merged to the branch mainline in revision 6150.
  • Revision ID: jriddell@canonical.com-20110919155940-4q4itcff3jhmhg6u
use .format() instead of % for string formatting where there are multiple formats in one string to allow for translations

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)