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