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