[p4] filename case woes: cannot rename Foo.H to Foo.h
Sheizaf, Yariv
yariv.sheizaf at sap.com
Tue Jul 24 22:57:43 PDT 2007
> Hi,
>
> We have a perforce server running on windows 2003, and mostly
windows-based
> clients. Unfortunately, we have a number of check-ins where "Foo.h"
was
> accidentally named "Foo.H". This doesn't bother MSVC, but it does
bother
> gcc on linux. :-(
>
> How can I rename the file?
>
> I've tried the P4V "Rename/Move" command (gives "no permission"
error),
> and simply deleting it and re-adding it (file comes back with original
name).
>
> Any ideas?
>
> Thanks,
> -Steve
The best way to rename Foo.H to Foo.h on Windows Perforce server is to
obliterate the file and then to add it again from Unix/Linux:
p4 obliterate -y //x/y/z/Foo.H
p4 add //x/y/z/Foo.h
p4 submit
Note that the compilation failed using Foo.H, so probably you did not
released any product version that include this file, so obliterate is
legal.
Regards,
Yariv Sheizaf
Yariv.sheizaf at sap.com
*********************************************
More information about the perforce-user
mailing list