~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/repository_implementations/test_repository.py

  • Committer: Aaron Bentley
  • Date: 2006-08-22 18:40:32 UTC
  • mto: (1910.2.43 format-bumps)
  • mto: This revision was merged to the branch mainline in revision 1997.
  • Revision ID: abentley@panoramicfeedback.com-20060822184032-6417522b3ab98f69
Implement creation of knits for tree roots

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
        # it is defined as a convenience function with the underlying 
172
172
        # functionality provided by an InterRepository
173
173
        tree_a = self.make_branch_and_tree('a')
 
174
        tree_a.set_root_id('ANOTHER_TREE_ROOT')
174
175
        if not isinstance(tree_a.branch.repository._format, 
175
176
                          repository.RepositoryFormatKnit1):
176
177
            raise TestSkipped('Only knit1 so far')
186
187
        repo.fetch(tree_a.branch.repository,
187
188
                   revision_id=None,
188
189
                   pb=bzrlib.progress.DummyProgress())
 
190
        rev1_tree = repo.revision_tree('rev1')
 
191
        rev1_tree.get_file_lines(rev1_tree.inventory.root.file_id)
189
192
 
190
193
    def test_get_revision_delta(self):
191
194
        tree_a = self.make_branch_and_tree('a')