~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

first cut at merge from integration.

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'))