~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_upgrade.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-08-17 18:13:57 UTC
  • mfrom: (5268.7.29 transport-segments)
  • Revision ID: pqm@pqm.ubuntu.com-20110817181357-y5q5eth1hk8bl3om
(jelmer) Allow specifying the colocated branch to use in the branch URL,
 and retrieving the branch name using ControlDir._get_selected_branch.
 (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
254
254
        t = self.get_transport()
255
255
        url = t.base
256
256
        out, err = self.run_bzr(['upgrade', '--format=2a', url])
257
 
        backup_dir = 'backup.bzr.~1~'
 
257
        backup_dir = 'backup.bzr.%7E1%7E'
258
258
        self.assertEqualDiff("""Upgrading branch %s ...
259
259
starting upgrade of %s
260
260
making backup of %s.bzr
262
262
starting repository conversion
263
263
repository converted
264
264
finished
265
 
""" % (url, url, url, url,backup_dir), out)
 
265
""" % (url, url, url, url, backup_dir), out)
266
266
        self.assertEqual('', err)
267
267
 
268
268