~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-23 15:21:19 UTC
  • mto: (1910.2.43 format-bumps)
  • mto: This revision was merged to the branch mainline in revision 1997.
  • Revision ID: abentley@panoramicfeedback.com-20060823152119-7b8e92f344f65b35
Got intra-repository fetch working between model1 and 2 for all types

Show diffs side-by-side

added added

removed removed

Lines of Context:
167
167
                   pb=bzrlib.progress.DummyProgress())
168
168
 
169
169
    def test_fetch_knit2(self):
170
 
        # smoke test fetch to ensure that the convenience function works.
171
 
        # it is defined as a convenience function with the underlying 
172
 
        # functionality provided by an InterRepository
173
170
        tree_a = self.make_branch_and_tree('a')
174
 
        if not isinstance(tree_a.branch.repository._format, 
175
 
                          repository.RepositoryFormatKnit1):
176
 
            raise TestSkipped('Only knit1 so far')
177
171
        self.build_tree(['a/foo'])
178
172
        tree_a.add('foo', 'file1')
179
173
        tree_a.commit('rev1', rev_id='rev1')