~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_info.py

  • Committer: Ian Clatworthy
  • Date: 2009-02-09 06:38:29 UTC
  • mto: (3990.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 3991.
  • Revision ID: ian.clatworthy@canonical.com-20090209063829-bv28wy5amxko8l1r
rename 1.12-preview formats as development-wt5 formats

Show diffs side-by-side

added added

removed removed

Lines of Context:
154
154
                    ' rich-root or rich-root-pack'
155
155
            elif key in ('knit', 'metaweave'):
156
156
                expected = 'knit or metaweave'
157
 
            elif key in ('1.12-preview', '1.12-preview-rich-root'):
158
 
                expected = '1.12-preview or 1.12-preview-rich-root'
 
157
            elif key in ('development-wt5', 'development-wt5-rich-root'):
 
158
                expected = 'development-wt5 or development-wt5-rich-root'
159
159
            self.assertCheckoutDescription(key, expected)
160
160
 
161
161
    def test_describe_branch_format(self):
165
165
            expected = None
166
166
            if key in ('dirstate', 'knit'):
167
167
                expected = 'dirstate or knit'
168
 
            elif key in ('1.9', '1.12-preview'):
169
 
                expected = '1.12-preview or 1.9'
170
 
            elif key in ('1.9-rich-root', '1.12-preview-rich-root'):
171
 
                expected = '1.12-preview-rich-root or 1.9-rich-root'
 
168
            elif key in ('1.9', 'development-wt5'):
 
169
                expected = '1.9 or development-wt5'
 
170
            elif key in ('1.9-rich-root', 'development-wt5-rich-root'):
 
171
                expected = '1.9-rich-root or development-wt5-rich-root'
172
172
            self.assertBranchDescription(key, expected)
173
173
 
174
174
    def test_describe_repo_format(self):
178
178
            expected = None
179
179
            if key in ('dirstate', 'knit', 'dirstate-tags'):
180
180
                expected = 'dirstate or dirstate-tags or knit'
181
 
            elif key in ('1.9', '1.12-preview'):
182
 
                expected = '1.12-preview or 1.9'
183
 
            elif key in ('1.9-rich-root', '1.12-preview-rich-root'):
184
 
                expected = '1.12-preview-rich-root or 1.9-rich-root'
 
181
            elif key in ('1.9', 'development-wt5'):
 
182
                expected = '1.9 or development-wt5'
 
183
            elif key in ('1.9-rich-root', 'development-wt5-rich-root'):
 
184
                expected = '1.9-rich-root or development-wt5-rich-root'
185
185
            self.assertRepoDescription(key, expected)
186
186
 
187
187
        format = bzrdir.format_registry.make_bzrdir('metaweave')