~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: 2009-01-19 10:25:07 UTC
  • mfrom: (3943.2.5 hpss-upgrade)
  • Revision ID: pqm@pqm.ubuntu.com-20090119102507-0ue83url4iguuol1
(mbp) small refactorings of upgrade

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
        (out, err) = self.run_bzr(
107
107
            ['upgrade', '--format=metaweave', url])
108
108
        self.assertEqualDiff("""starting upgrade of %s
109
 
making backup of tree history
110
 
%s.bzr has been backed up to %sbackup.bzr
111
 
if conversion fails, you can move this directory back to .bzr
112
 
if it succeeds, you can remove this directory if you wish
 
109
making backup of %s.bzr
 
110
  to %sbackup.bzr
113
111
starting upgrade from format 5 to 6
114
112
adding prefixes to weaves
115
113
adding prefixes to revision-store
130
128
        (out, err) = self.run_bzr(
131
129
            ['upgrade', '--format=knit', url])
132
130
        self.assertEqualDiff("""starting upgrade of %s
133
 
making backup of tree history
134
 
%s.bzr has been backed up to %sbackup.bzr
135
 
if conversion fails, you can move this directory back to .bzr
136
 
if it succeeds, you can remove this directory if you wish
 
131
making backup of %s.bzr
 
132
  to %sbackup.bzr
137
133
starting repository conversion
138
134
repository converted
139
135
finished
169
165
        url = t.base
170
166
        out, err = self.run_bzr(['upgrade', '--format=knit', url])
171
167
        self.assertEqualDiff("""starting upgrade of %s
172
 
making backup of tree history
173
 
%s.bzr has been backed up to %sbackup.bzr
174
 
if conversion fails, you can move this directory back to .bzr
175
 
if it succeeds, you can remove this directory if you wish
 
168
making backup of %s.bzr
 
169
  to %sbackup.bzr
176
170
starting upgrade from format 6 to metadir
177
171
starting repository conversion
178
172
repository converted