~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testfetch.py

  • Committer: Lalo Martins
  • Date: 2005-09-09 11:37:44 UTC
  • mto: (1185.1.22)
  • mto: This revision was merged to the branch mainline in revision 1390.
  • Revision ID: lalo@exoweb.net-20050909113744-22f870db25a9e5f5
getting rid of everything that calls the Branch constructor directly

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()