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