/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/tests/blackbox/test_upgrade.py

  • Committer: Jelmer Vernooij
  • Date: 2011-08-17 09:27:29 UTC
  • mto: This revision was merged to the branch mainline in revision 6085.
  • Revision ID: jelmer@samba.org-20110817092729-1sg4zs7ckiucqe6n
Use utf8 as encoding for urls passed to note().

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
    bzrdir,
23
23
    controldir,
24
24
    lockable_files,
25
 
    osutils,
26
25
    ui,
27
26
    urlutils,
28
27
    )
261
260
        t = self.get_transport()
262
261
        url = t.base
263
262
        display_url = urlutils.unescape_for_display(url,
264
 
            osutils.get_terminal_encoding())
 
263
            'utf-8')
265
264
        out, err = self.run_bzr(['upgrade', '--format=2a', url])
266
265
        backup_dir = 'backup.bzr.~1~'
267
266
        self.assertEqualDiff("""Upgrading branch %s ...