Repository navigation
Conversation
The result of `normalize_path()` may be a non-normalized path, containing e.g. `../`, as a result of prepending `self.directory`. Avoid the problem by using `normpath()` on the result. Resolves bazelbuild#1072.
|
This makes one of the tar tests fail What if you just normalized --directory? |
I don't think the test failures are related. Normalizing |
|
Can you try a merge from head and re-push so we can run with current tests? |
Yes, just refreshed. |
|
I don't understand why you are still getting bazel7 in the tests. This is going to break people because the expect the leading ./ on their files. |
|
@aiuto - apologies, I had messed up the branch by using the 'merge' button. Also researched (with the help of Claude) what was causing the problem -
Hence updated code to accommodate that. Tests now pass. |
The result of
normalize_path()may be a non-normalized path, containing e.g.../, as a result of prependingself.directory.Avoid the problem by using
normpath()on the result. Resolves #1072.