/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/repository_implementations/test_commit_builder.py

  • Committer: Martin Pool
  • Date: 2007-04-04 01:22:11 UTC
  • mfrom: (2393.1.1 bzr.docs)
  • mto: This revision was merged to the branch mainline in revision 2397.
  • Revision ID: mbp@sourcefrog.net-20070404012211-sq269me6bai9m6xk
merge trunk and doc fix from elliot

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
    def test_commit_without_root(self):
87
87
        """This should cause a deprecation warning, not an assertion failure"""
88
88
        tree = self.make_branch_and_tree(".")
89
 
        if tree.branch.repository._format.rich_root_data:
 
89
        if tree.branch.repository.supports_rich_root():
90
90
            raise tests.TestSkipped('Format requires root')
91
91
        self.build_tree(['foo'])
92
92
        tree.add('foo', 'foo-id')