I do not want to go "Get Revision" > "Force". Because half of my stuff is already downloaded. I don't want to overwrite what I already have. P4V Can clearly see that what is in the depot and what is local is completely different. How can I get Perforce to retrieve the files I do not have, and ignore the ones I already do?
P4V Get Latest does nothing
1.2k Views Asked by Lens At
2
There are 2 best solutions below
0
Michail Markou
On
Instead of p4 clean, you could do:
- reconcile offline work on root of workspace then a pop-up saying that you deleted some files and it is going to delete them from Depot of the server as well make sure you added to default or new changelist or whatever. Accept.
- Go to changelist and right-click press revert files to bring back the deleted/missing files.
Related Questions in PERFORCE
- Perforce workspaces and multiple branches
- Perforce won't branch over deleted files
- How can I query Perforce for a list of users who have workspaces that reference a particular file in the depot?
- is there a way to find all the perforce workspaces which are mapping a certain file in the depot?
- Have teamcity checkout on build agent machine
- Perforce - switch to workspace from command line
- git p4 sync - where did the perforce changes go?
- Can I apply changes from a perforce patch(downloaded from review board) to my code
- Data integrity before migration
- Associate specific paths in Atlassian Fisheye with Perforce branch mappings
- Unity & P4Connect
- Perforce how to Read the branch mapping from standard input without invoking an editor
- Facing issue with jenkins: label name not recognized by sync command
- Gradle 'maven-publish' plugin fails with "unmappable character for encoding" error
- Perforce to git migration
Related Questions in REVISION
- CouchDB Merging Revisions (conflict)
- TortoiseSvn - Automatically update multiple external properties
- Rename file after upload based on criteria
- How to get the revision of an item with Dropbox API
- Subversion - put version number in a file
- How to list files in specific revision in `git`?
- Getting log messages between two revisions with multiple paths
- In Subversion can files a tag (folder) be a reference (i.e. like a symbolic link) to those in a certain revision to save space?
- Cakephp Revision behavior hurdles validation error?
- Row-level revision control for Oracle?
- Can django-moderation and django-reversion work together for a content_type?
- How do I look up a revision's delta/diff using svn's http-based browser?
- How to get the revision of a specific file using SVNKit?
- Svn 1.7 - How to switch working copy to relocated repo when working copy has non-existent revision
- Bazaar: Automatic remote revision writing to remote branch on push
Related Questions in P4V
- p4python: perforce: file is not under permissible file system path
- visual studio 2015 can't connect to p4v, getting "object reference not set to an instance of an object"
- Perforce: Integrating multiple changelists which contain same files with different revisions to branch
- Perforce revision graph - what does 'ignore' mean?
- Hosting Perforce server on internet?
- Will installing p4v also install p4 command line?
- p4v modify new workspace property by script
- How to delete Stream Depot in perforce
- Is there a way in Perforce we can create views as in cleartool
- Can we create Labels in perforce
- Can you assign a shortcut for a custom tool you created in P4V
- Am I able to clone and merge files in perforce at once?
- How to list all the files that are checked in under perforce job?
- Perforce Streams - Importing a stream which imports other streams
- In Perforce on Unix, how do you add a directory that is a symbolic link?
Related Questions in GETLATEST
- Visual SourceSafe - Disable "Get Latest On Checkout"
- sas import latest csv file in folder
- C# WPF SQL) How to know latest date(where user inputed a record) or biggest value in specific month in SQL database table programmatically?
- TFS check as default - overwrite writeable files and overwrite all files for get specific version
- How to exclude filetypes when getting latest in Perforce
- Mysql fetch last element of group
- MySQL: GROUP BY Latest record - not showing some records
- Generate bower file automatically?
- How to check changes made in specific files in project
- C# TFS Set Latest Information of File programmatically?
- P4V Get Latest does nothing
- SQL - how to let sql auto set the next id
- SQL Select latest row by date
- Getting latest value from joined table
- Get latest method always re-downloading
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Select your workspace root, go to File > Open Command Window Here, and run:
This will scan your workspace and force-sync everything that's different or missing, as well as deleting unadded files. Note that if you have local work that isn't in a changelist, this will irrevocably erase it. If you only want to "clean" files that are edited/present but out of date (and disregard added/deleted files), do
p4 clean -einstead. If you want to preview the operation before doing it for real, dop4 clean -n.I think you can do the equivalent via the "Reconcile Offline Work" tool in P4V, but it may require additional manual steps.
To make working with Perforce easier, try to avoid modifying files in your workspace that are read-only -- if you want to remove a file from your workspace, use "remove from workspace" in P4V rather than manually deleting it, etc. Perforce is able to make file operations very fast by virtue of knowing what's in your workspace and not having to re-check it each time, but you eliminate that benefit when you mess with your workspace manually.