2017
2019
kind is one of values 'directory', 'file', 'symlink', 'tree-reference'.
2018
2020
branch will be read-locked.
2021
2023
tree, b, path = bzrdir.BzrDir.open_containing_tree_or_branch(file_list[0])
2022
2024
add_cleanup(b.lock_read().unlock)
2023
2025
# XXX: It's damn messy converting a list of paths to relative paths when