~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/rename_map.py

  • Committer: Jonathan Riddell
  • Date: 2011-09-16 11:13:47 UTC
  • mto: This revision was merged to the branch mainline in revision 6144.
  • Revision ID: jriddell@canonical.com-20110916111347-fyjk426bkl0jrbfu
gettext() show_warning usage

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
    trace,
24
24
)
25
25
from bzrlib.ui import ui_factory
26
 
 
 
26
from bzrlib.i18n import gettext
27
27
 
28
28
class RenameMap(object):
29
29
    """Determine a mapping of renames."""
238
238
            pp.next_phase()
239
239
            delta = rn._make_inventory_delta(matches)
240
240
            for old, new, file_id, entry in delta:
241
 
                trace.note("%s => %s", old, new)
 
241
                trace.note( gettext("{0} => {1}").format(old, new) )
242
242
            if not dry_run:
243
243
                tree.add(required_parents)
244
244
                tree.apply_inventory_delta(delta)