~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testremotebranch.py

  • Committer: Lalo Martins
  • Date: 2005-09-15 15:28:33 UTC
  • mto: (1185.1.22)
  • mto: This revision was merged to the branch mainline in revision 1390.
  • Revision ID: lalo@exoweb.net-20050915152832-1b23c36b1f0fffc4
made tests pass again, after merge from integration

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