151
151
branchb_id = tree2.commit('bar')
152
152
checkout = tree1.branch.create_checkout('heavyco/a', lightweight=False)
153
153
self.run_bzr(['switch', 'branchb'], working_dir='heavyco/a')
154
155
self.assertEqual(branchb_id, checkout.last_revision())
157
159
def test_switch_finds_relative_unicode_branch(self):
158
160
"""Switch will find 'foo' relative to the branch the checkout is of."""