/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: Robert Collins
  • Date: 2007-03-28 07:33:07 UTC
  • mto: (2018.5.113 hpss)
  • mto: This revision was merged to the branch mainline in revision 2383.
  • Revision ID: robertc@robertcollins.net-20070328073307-ni7dcww9b1rf0udp
Split out hpss test fixes which dont depend on new or altered API's.

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
 
        self.build_tree(['foo'])
 
91
        self.build_tree(['foo'], transport=tree.bzrdir.root_transport)
92
92
        tree.add('foo', 'foo-id')
93
93
        tree.lock_write()
94
94
        try: