~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/test_parent.py

  • Committer: Robert Collins
  • Date: 2005-11-07 20:29:51 UTC
  • mfrom: (1457.1.17)
  • Revision ID: robertc@robertcollins.net-20051107202951-6ae936c7a3e57f6f
Branch.commit() has moved to WorkingTree.commit(). (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
        branch_from = Branch.initialize('from')
47
47
        file('from/foo', 'wt').write('contents of foo')
48
48
        branch_from.add('foo')
49
 
        branch_from.commit('initial commit')
 
49
        branch_from.working_tree().commit('initial commit')
50
50
        
51
51
        os.mkdir('to')
52
52
        copy_branch(branch_from, 'to', None)