197
197
self.assertRaises(errors.AlreadyCheckout,
198
198
reconfigure.Reconfigure.to_checkout, checkout.bzrdir)
201
201
parent = self.make_branch('parent')
202
202
checkout = parent.create_checkout('checkout')
203
203
checkout.commit('test', rev_id='new-commit', local=True)
204
204
reconfiguration = reconfigure.Reconfigure.to_lightweight_checkout(
207
216
wt = checkout.bzrdir.open_workingtree()
208
217
self.assertTrue(parent.repository.has_same_location(