1846
1846
:return: (branch, info_list, start_rev_info, end_rev_info) where
1847
1847
info_list is a list of (relative_path, file_id, kind) tuples where
1848
1848
kind is one of values 'directory', 'file', 'symlink', 'tree-reference'.
1850
1851
from builtins import _get_revision_range, safe_relpath_files
1851
1852
tree, b, path = bzrdir.BzrDir.open_containing_tree_or_branch(file_list[0])
1852
1854
# XXX: It's damn messy converting a list of paths to relative paths when
1853
1855
# those paths might be deleted ones, they might be on a case-insensitive
1854
1856
# filesystem and/or they might be in silly locations (like another branch).