105
107
url = get_transport(self.get_url('format_5_branch')).base
106
108
# check --format takes effect
107
109
bzrdir.BzrDirFormat._set_default_format(bzrdir.BzrDirFormat5())
109
111
['upgrade', '--format=metaweave', url])
110
112
self.assertEqualDiff("""starting upgrade of %s
111
113
making backup of tree history
113
115
if conversion fails, you can move this directory back to .bzr
114
116
if it succeeds, you can remove this directory if you wish
115
117
starting upgrade from format 5 to 6