299
261
runcmd(['bzr', 'commit', '-m', 'rename nested subdirectories'])
303
264
runcmd('bzr move ../hello.txt .')
304
265
assert exists('./hello.txt')
306
assert backtick('bzr relpath ../../sub1/sub2/hello.txt') == os.path.join('sub1', 'sub2', 'hello.txt\n')
307
268
runcmd(['bzr', 'commit', '-m', 'move to parent directory'])
311
272
runcmd('bzr move sub2/hello.txt .')
312
273
assert exists('hello.txt')