~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/teststatus.py

Move add from Branch to WorkingTree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
 
66
66
        tof = StringIO()
67
67
        self.build_tree(['hello.c', 'bye.c'])
68
 
        b.add('hello.c')
69
 
        b.add('bye.c')
 
68
        b.working_tree().add('hello.c')
 
69
        b.working_tree().add('bye.c')
70
70
        b.working_tree().commit('Test message')
71
71
 
72
72
        tof = StringIO()
82
82
                           '  hello.c\n'])
83
83
 
84
84
        self.build_tree(['more.c'])
85
 
        b.add('more.c')
 
85
        b.working_tree().add('more.c')
86
86
        b.working_tree().commit('Another test message')
87
87
        
88
88
        tof = StringIO()
132
132
        b = Branch.initialize('.')
133
133
 
134
134
        self.build_tree(['directory/','directory/hello.c', 'bye.c','test.c','dir2/'])
135
 
        b.add('directory')
136
 
        b.add('test.c')
 
135
        b.working_tree().add('directory')
 
136
        b.working_tree().add('test.c')
137
137
        b.working_tree().commit('testing')
138
138
        
139
139
        tof = StringIO()