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')
158
156
self.assertEqual(branchb_id, checkout.last_revision())
162
159
def test_switch_finds_relative_unicode_branch(self):
163
160
"""Switch will find 'foo' relative to the branch the checkout is of."""