76
76
:param file_list: Filenames to convert.
80
81
:return: workingtree, [relative_paths]
82
83
if file_list is None or len(file_list) == 0:
83
84
return WorkingTree.open_containing(default_branch)[0], file_list
86
87
for filename in file_list:
89
90
except errors.PathNotChild:
90
91
raise errors.FileInWrongBranch(tree.branch, filename)