Personal build fails to apply patch due to space in path name
Completed
I'm trying to run a custom build with Personal Build checked. I upload the .diff file and hit Run. Build fails when it tries to apply the patch because there is a space character in the file path:
Here are the first few lines of the .diff file:
--- a/1. Foo/MyFile.txt
+++ b/1. Foo/MyFile.txt
Build log says:
Error while applying patch: modified file 1. does not exist
Is there a way to escape the space character that will appease the patch functionality?
I'm using 2019.2.2 (build 71923).
Please sign in to leave a comment.
Hi Jerry,
I've been testing it and I could replicate the problem. I've opened this issue in our tracker: https://youtrack.jetbrains.com/issue/TW-65283. Please watch it to stay updated of possible notes by the dev team.
I'm afraid the only solution I can currently offer is to not have spaces in your folder/file structure, but the devs might be able to offer some insight in the issue.