I had directory structure A/B, A/C, A/D and then had few files in each directory B, C, D.
Lets say, in B - B1.txt, B2.txt, B3.txt IF someone delete B2.txt from perforce and i dont know when, is there any way i can find out what are the files deleted from the directory and at what time?
When you first delete a file, it is moved to the computer's Recycle Bin, Trash, or something similar depending on your operating system. When something is sent to the Recycle Bin or Trash, the icon changes to indicate it contains files and if needed lets you recover a deleted file.
On the P4VS dialog, select the default pending changelist or a new changelist. Click Yes. P4VS marks the file for delete and it is placed in a changelist.
In P4V you can turn on the option to "Show Deleted Depot Files".
Deleted depot files will then display, with their file icons having an "x" on them, and you can easily examine their history.
From the command line, you can type p4 filelog -t //your_depot/path/to/folder/...
and that will give you the revision history of all the files in "folder" (including subdirectories).
You can search the output of that command for "delete" and that will tell you the revision number for the file when it got deleted, and it should also have the date/time info in there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With