~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/blackbox.py

  • Committer: Aaron Bentley
  • Date: 2005-08-10 14:59:36 UTC
  • mto: (1092.1.41) (1185.3.4) (974.1.47)
  • mto: This revision was merged to the branch mainline in revision 1110.
  • Revision ID: abentley@panoramicfeedback.com-20050810145936-f1b0cf25e8b18f6c
Ensured that revert FILE only modifies that file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
401
401
        file('hello', 'wt').write('foo')
402
402
        self.runbzr('add hello')
403
403
        self.runbzr('commit -m setup hello')
 
404
 
 
405
        file('goodbye', 'wt').write('baz')
 
406
        self.runbzr('add goodbye')
 
407
        self.runbzr('commit -m setup goodbye')
404
408
        
405
409
        file('hello', 'wt').write('bar')
 
410
        file('goodbye', 'wt').write('qux')
406
411
        self.runbzr('revert hello')
407
412
        self.check_file_contents('hello', 'foo')
 
413
        self.check_file_contents('goodbye', 'qux')
 
414
        self.runbzr('revert')
 
415
        self.check_file_contents('goodbye', 'baz')
408
416