/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: Martin Pool
  • Date: 2006-05-05 01:27:49 UTC
  • mto: This revision was merged to the branch mainline in revision 1699.
  • Revision ID: mbp@sourcefrog.net-20060505012749-94b6adfce7285eca
[merge] bzr.dev

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