~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testremotebranch.py

  • Committer: John Arbash Meinel
  • Date: 2005-09-16 14:57:59 UTC
  • mto: (1393.2.1)
  • mto: This revision was merged to the branch mainline in revision 1396.
  • Revision ID: john@arbash-meinel.com-20050916145758-ad06c9ae86840f17
Merged up-to-date against mainline, still broken.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
        def new_branch(name):
31
31
            os.mkdir(name)
32
 
            return Branch(name, init=True)
 
32
            return Branch.initialize(name)
33
33
            
34
34
        #highest indices a: 5, b: 7
35
35
        br_a, br_b = make_branches()
36
 
        br_rem = find_branch(self.get_remote_url(br_a.base))
 
36
        br_rem = Branch.open(self.get_remote_url(br_a.base))
37
37
        assert not has_revision(br_b, br_rem.revision_history()[3])
38
38
        assert has_revision(br_b, br_rem.revision_history()[2])
39
39
        assert len(br_b.revision_history()) == 7