~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_revert.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-03-09 22:22:50 UTC
  • mfrom: (1558.4.4 Aaron's integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060309222250-8bc4180b1ba28f13
small fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
        # test case for bug #29424:
62
62
        # revert to specific revision for file in subdir does not work
63
63
        self.helper('-r 1')
 
64
 
 
65
    def test_revert_in_checkout(self):
 
66
        os.mkdir('brach')
 
67
        os.chdir('brach')
 
68
        self._prepare_tree()
 
69
        self.runbzr('checkout --lightweight . ../sprach')
 
70
        self.runbzr('commit -m more')
 
71
        os.chdir('../sprach')
 
72
        self.assertEqual('', self.capture('status'))
 
73
        self.runbzr('revert')
 
74
        self.assertEqual('', self.capture('status'))