112
112
tree.commit(rev_id='rev2', message='rev2')
113
113
# Check it out and switch to revision 1
114
114
checkout = tree.branch.create_checkout('checkout',
116
116
switch.switch(checkout.bzrdir, tree.branch, revision_id="rev1")
117
117
self.failUnlessExists('checkout/file-1')
118
118
self.failIfExists('checkout/file-2')
121
133
class TestSwitchHeavyweight(TestSwitch):