[p4] Finding changed files in workspace which p4 doesn't know about?

Roy Smith smith_roy at emc.com
Fri Mar 16 08:41:37 PST 2007


We've found a few scenarios where files can change in a workspace  
without p4 knowing about it.  For example:

1) Somebody creates a new file and forgets to do "p4 add"

2) Cygwin's brain-dead handling of file permissions lets you edit an  
existing file without doing a "p4 open".

3) Somebody deliberately (and stupidly) chmods a file so they can  
edit it.

Is there any easy way to find all these?  Basicly, I want to answer  
the question, "If I did an rm -rf; sync -f", would I get back exactly  
what I've got now?"


-------------------
Roy Smith <smith_roy at emc.com>
Software Guy, EMC Common Management Group
44 South Broadway, 7th floor
White Plains, NY 10601
(914) 580-3427




More information about the perforce-user mailing list