/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/commit.py

  • Committer: Daniel Watkins
  • Date: 2007-09-05 00:36:07 UTC
  • mto: This revision was merged to the branch mainline in revision 2796.
  • Revision ID: d.m.watkins@warwick.ac.uk-20070905003607-e11a396avb4eqv62
Modified ReportCommitToLog.started to use urlutils.unescape_for_display for 'location'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
        deprecated_function,
81
81
        DEPRECATED_PARAMETER)
82
82
from bzrlib.workingtree import WorkingTree
 
83
from bzrlib.urlutils import unescape_for_display
83
84
import bzrlib.ui
84
85
 
85
86
 
126
127
 
127
128
    def started(self, revno, rev_id, location=None):
128
129
        if location is not None:
129
 
            location = ' to "' + location + '"'
 
130
            location = ' to "' + unescape_for_display(location, 'utf-8') + '"'
130
131
        else:
131
132
            location = ''
132
133
        self._note('Committing revision %d%s.', revno, location)