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

  • Committer: Martin Pool
  • Date: 2007-08-14 09:44:20 UTC
  • mto: This revision was merged to the branch mainline in revision 2722.
  • Revision ID: mbp@sourcefrog.net-20070814094420-ct7ogmwjoz528i1k
Start setting the default format to dirstate-tags

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
from bzrlib.upgrade import Convert
36
36
from bzrlib.workingtree import WorkingTree
37
37
 
 
38
# These tests are a bit old; please instead add new tests into
 
39
# interrepository_implementations/ so they'll run on all relevant
 
40
# combinations.
 
41
 
38
42
 
39
43
def has_revision(branch, revision_id):
40
44
    return branch.repository.has_revision(revision_id)
97
101
    self.assertRaises(bzrlib.errors.InstallFailed, br_a3.fetch, br_a2, 'pizza')
98
102
    # InstallFailed should be raised if the branch is missing a revision
99
103
    # from its own revision history
 
104
    import pdb;pdb.set_trace()
100
105
    br_a2.append_revision('a-b-c')
101
106
    self.assertRaises(bzrlib.errors.InstallFailed, br_a3.fetch, br_a2)
102
107
 
116
121
 
117
122
    def test_fetch(self):
118
123
        #highest indices a: 5, b: 7
119
 
        br_a, br_b = make_branches(self)
 
124
        br_a, br_b = make_branches(self, format='dirstate-tags')
120
125
        fetch_steps(self, br_a, br_b, br_a)
121
126
 
122
127
    def test_fetch_self(self):