127
129
we look for a file with the same name in that directory.
128
130
Else, we look for an entry in the base tree with the same path.
130
133
if self.base_tree.has_id(parent_ie.file_id):
137
140
full_base_path = osutils.pathjoin(self.base_path, path)
138
141
# This may return None, but it is our last attempt
139
142
return self.base_tree.path2id(full_base_path), full_base_path