~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: 2006-05-04 08:12:15 UTC
  • mfrom: (1692.7.5 bzr.mbp.integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060504081215-e807a459c8bcb379
(mbp,olaf) lock info, metaweave format name, docs

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
        # check --format takes effect
114
114
        bzrdir.BzrDirFormat.set_default_format(bzrdir.BzrDirFormat5())
115
115
        (out, err) = self.run_bzr_captured(
116
 
            ['upgrade', '--format=metadir', url])
 
116
            ['upgrade', '--format=metaweave', url])
117
117
        self.assertEqualDiff("""starting upgrade of %s
118
118
making backup of tree history
119
119
%s.bzr has been backed up to %s.bzr.backup
155
155
                                   repository.RepositoryFormatKnit1))
156
156
 
157
157
    def test_upgrade_repo(self):
158
 
        self.run_bzr('init-repository', '--format=metadir', 'repo')
 
158
        self.run_bzr('init-repository', '--format=metaweave', 'repo')
159
159
        self.run_bzr('upgrade', '--format=knit', 'repo')
160
160
 
161
161