~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testannotate.py

[merge] refactoring of branch vs working tree, etc (robertc)

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
        b = Branch.initialize('.')
45
45
        self.build_tree_contents([('hello.txt', 'my helicopter\n'),
46
46
                                  ('nomail.txt', 'nomail\n')])
47
 
        b.add(['hello.txt'])
 
47
        b.working_tree().add(['hello.txt'])
48
48
        b.working_tree().commit('add hello', 
49
49
                                committer='test@user')
50
 
        b.add(['nomail.txt'])
 
50
        b.working_tree().add(['nomail.txt'])
51
51
        b.working_tree().commit('add nomail', committer='no mail')
52
52
 
53
53
    def test_help_annotate(self):