~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/test_parent.py

Move add from Branch to WorkingTree.

Show diffs side-by-side

added added

removed removed

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