301
302
assert backtick('bzr root')[:-1] == os.path.join(test_root, 'branch1')
302
303
runcmd('bzr move ../hello.txt .')
303
304
assert exists('./hello.txt')
306
assert backtick('bzr relpath ../../sub1/sub2/hello.txt') == os.path.join('sub1', 'sub2', 'hello.txt\n')
306
307
runcmd(['bzr', 'commit', '-m', 'move to parent directory'])
310
311
runcmd('bzr move sub2/hello.txt .')
311
312
assert exists('hello.txt')