~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testrevisionnamespaces.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:
24
24
        from bzrlib.branch import Branch
25
25
        from bzrlib.revisionspec import RevisionSpec
26
26
 
27
 
        b = Branch('.', init=True)
 
27
        b = Branch.initialize('.')
28
28
 
29
29
        b.commit('Commit one', rev_id='a@r-0-1')
30
30
        b.commit('Commit two', rev_id='a@r-0-2')