/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/test_bzrdir.py

  • Committer: Vincent Ladeuil
  • Date: 2007-11-04 15:29:17 UTC
  • mfrom: (2961 +trunk)
  • mto: (2961.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 2962.
  • Revision ID: v.ladeuil+lp@free.fr-20071104152917-nrsumxpk3dikso2c
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
            'branch6',
94
94
            'bzrlib.repofmt.knitrepo.RepositoryFormatKnit3',
95
95
            'Experimental successor to knit.  Use at your own risk.',
96
 
            branch_format='bzrlib.branch.BzrBranchFormat6')
 
96
            branch_format='bzrlib.branch.BzrBranchFormat6',
 
97
            experimental=True)
97
98
        my_format_registry.register_metadir(
98
99
            'hidden format',
99
100
            'bzrlib.repofmt.knitrepo.RepositoryFormatKnit3',
140
141
        topics.register('formats', self.make_format_registry().help_topic, 
141
142
                        'Directory formats')
142
143
        topic = topics.get_detail('formats')
143
 
        new, deprecated = topic.split('Deprecated formats')
 
144
        new, rest = topic.split('Experimental formats')
 
145
        experimental, deprecated = rest.split('Deprecated formats')
144
146
        self.assertContainsRe(new, 'These formats can be used')
145
147
        self.assertContainsRe(new, 
146
148
                ':knit:\n    \(native\) \(default\) Format using knits\n')
 
149
        self.assertContainsRe(experimental, 
 
150
                ':branch6:\n    \(native\) Experimental successor to knit')
147
151
        self.assertContainsRe(deprecated, 
148
152
                ':lazy:\n    \(native\) Format registered lazily\n')
149
153
        self.assertNotContainsRe(new, 'hidden')