38
38
tree.commit('2', rev_id='2')
41
41
self.runbzr('checkout branch checkout')
42
42
# if we have a checkout, the branch base should be 'branch'
43
43
source = bzrdir.BzrDir.open('branch')
44
44
result = bzrdir.BzrDir.open('checkout')
45
45
self.assertEqual(source.open_branch().bzrdir.root_transport.base,
46
54
result.open_branch().bzrdir.root_transport.base)
48
56
def test_checkout_dash_r(self):