How to rename a file test.c to Test.c in perforce?

房东的猫 提交于 2019-12-11 05:07:20

问题


I have a file of name: test.c in perforce, but i want it as Test.c (capital T).
I tried rename, delete and then add but both methods are not useful! The file gets update in my machine, but when some one else accesses it, the file remains, test.c itself, not Test.c! What can i do in this case? And i have many files of same name inside the directory in perforce, i want to rename them all. Ex:
dir1->test.c , dir2
dir2 ->test.c , dir3
dir3->test.c

This should become:
dir1->Test.c , dir2
dir2 ->Test.c , dir3
dir3->Test.c


回答1:


If the file name appears correct when looking at the tree in P4V, but is the wrong case on the client machine, try removing the file from the workspace and then resyncing. Windows won't rename the file if it's already on disk because it's a case insensitive file system.



来源:https://stackoverflow.com/questions/19977743/how-to-rename-a-file-test-c-to-test-c-in-perforce

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!