~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_log.py

  • Committer: Robert Collins
  • Date: 2007-10-22 01:23:51 UTC
  • mfrom: (2921.3.1 graph)
  • mto: This revision was merged to the branch mainline in revision 2933.
  • Revision ID: robertc@robertcollins.net-20071022012351-16lm27an2lbzk038
Merge graph history-access bugfix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
166
166
        wt.commit(message='add file1 and file2')
167
167
        self.run_bzr('branch parent child')
168
168
        os.unlink('child/file1')
169
 
        print >> file('child/file2', 'wb'), 'hello'
 
169
        file('child/file2', 'wb').write('hello\n')
170
170
        self.run_bzr(['commit', '-m', 'remove file1 and modify file2',
171
171
            'child'])
172
172
        os.chdir('parent')
357
357
        wt.commit('first post')
358
358
        self.run_bzr('branch parent child')
359
359
        os.unlink('child/f1')
360
 
        print >> file('child/f2', 'wb'), 'hello'
 
360
        file('child/f2', 'wb').write('hello\n')
361
361
        self.run_bzr(['commit', '-m', 'removed f1 and modified f2',
362
362
            'child'])
363
363
        os.chdir('parent')