/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/per_repository/test_fetch.py

  • Committer: Robert Collins
  • Date: 2009-03-02 07:20:02 UTC
  • mfrom: (4067 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4069.
  • Revision ID: robertc@robertcollins.net-20090302072002-8e20qt9mv3asyy86
Merge bzr.dev [fix conflicts with fetch refactoring].

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
                   revision_id=None)
47
47
                   ## pb=bzrlib.progress.DummyProgress())
48
48
 
49
 
    def test_fetch_knit3(self):
 
49
    def test_fetch_to_knit3(self):
50
50
        # create a repository of the sort we are testing.
51
51
        tree_a = self.make_branch_and_tree('a')
52
52
        self.build_tree(['a/foo'])
80
80
        try:
81
81
            tree_b = b_bzrdir.create_workingtree()
82
82
        except errors.NotLocalUrl:
83
 
            raise TestSkipped("cannot make working tree with transport %r"
 
83
            try:
 
84
                tree_b = b_branch.create_checkout('b', lightweight=True)
 
85
            except errors.NotLocalUrl:
 
86
                raise TestSkipped("cannot make working tree with transport %r"
84
87
                              % b_bzrdir.transport)
85
88
        tree_b.commit('no change', rev_id='rev2')
86
89
        rev2_tree = knit3_repo.revision_tree('rev2')