~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-10-16 08:29:16 UTC
  • mto: This revision was merged to the branch mainline in revision 1459.
  • Revision ID: robertc@lifelesslap.robertcollins.net-20051016082916-dae075fdf18af47e
unify has() implementations for TransportStore classes

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
 
18
18
import os
19
 
from bzrlib.tests import TestCaseInTempDir
 
19
from bzrlib.selftest import TestCaseInTempDir
20
20
from bzrlib.branch import Branch
21
21
from bzrlib.clone import copy_branch
22
22
 
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.working_tree().add('foo')
49
 
        branch_from.working_tree().commit('initial commit')
 
48
        branch_from.add('foo')
 
49
        branch_from.commit('initial commit')
50
50
        
51
51
        os.mkdir('to')
52
52
        copy_branch(branch_from, 'to', None)