A given file is missing from my Workspace, but present at the Perforce Depot.
I tried several times to "Get Revision" and checked on the "Force Operation" flag. It always retrieve hundreds of files but not this one missing, which, by the way, is an .sln file.
Extra details that may be relevant: a) I use P4V; b) I usually open this project for editing in Visual Studio 2010 using the option "Open from Source Control"; c) I tried checking out all files in my solution and reverting unchanged files afterwards as an attempt to bring all files, but didn't work for this missing file of mine.
Does anyone have seen something similar? Any ideas?
Thanks a lot!
p4 sync will only delete a file from the workspace if: the head revision of the depot file is deleted (check p4 files FILE ) you are currently synced to a different (not deleted) revision of the file (check p4 have FILE )
The p4 clean command takes the following actions when finding inconsistencies between files in a user's workspace and corresponding depot files: Files present in the workspace, but missing from the depot are deleted from the workspace.
In the Get Revision dialog, specify the desired revision and click Get Revision. To get the revisions or the previous revisions for files in a changelist, open the Submitted tab. This tab displays a list of submitted changelists, based on the filter criteria selected at the top of the tab.
Go to Search > Find File. The Find File tab opens in the right pane. On the Find File tab in the right pane, under Search in, enter the directory path you want to search. You can drag and drop the file path from the Depot or Workspace Tree in the Tree pane.
The "Get Revision" with "Force Operation" was not working because the file in question was checked out. After reverting this file, I could get it by forcing the Get Revision.
This idea actually came from an answer to a similar question to which I came back to.
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