81
88
def tree_files_for_add(file_list):
85
92
if tree.supports_views():
86
93
view_files = tree.views.lookup_view()
88
95
for filename in file_list:
89
96
if not osutils.is_inside_any(view_files, filename):
90
97
raise errors.FileOutsideView(filename, view_files)
92
100
tree = WorkingTree.open_containing(u'.')[0]
93
101
if tree.supports_views():