~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testannotate.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:
44
44
        b = Branch.initialize('.')
45
45
        self.build_tree_contents([('hello.txt', 'my helicopter\n')])
46
46
        b.add(['hello.txt'])
47
 
        b.commit('add hello', 
48
 
                 committer='test@user')
 
47
        b.working_tree().commit('add hello', 
 
48
                                committer='test@user')
49
49
 
50
50
    def test_help_annotate(self):
51
51
        """Annotate command exists"""