Our team uses git2p4 to develop locally on the github registry, and then obeys it. E.g.
/ home / workspace / src / - git repo code (changes are present)
/ home / workspace_p4git / src - local client workspace associated with the perforce depot.
When we copy the source code of the git repository in the local perforce directory, the changes are seen in git as being uninstalled.
Now my problem is:
There is a file in the git repository with the name: abc% 28def% 29.extension.
When I 'git adds -A'; this shows me
renamed: abc% 2528def% 2529.extension → abc% 28def% 29.extension
Perhaps this is due to the fact that Perforce does not allow the "%" character in the file name.
Then I try to send my code to git repo - git p4 submit -M
This fails with the following error:
The target file has an illegal escape sequence [% xx].
command failed: p4 integrate -Dt "abc% 2528def62% 2529.extension" "abc% 28def% 29.extension"
Does anyone have any suggestions to resolve this other than changing the file name in git repo?
source
share