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
- How to check file content in a python script being run in a perforce trigger?
- P4 change ownership through command line
- Suppress change-submit trigger while executing form-in trigger in Perforce Helix Core using Java APIs
- Perforce: copy folder/files to local without p4root
- p4 resolved File status
- Perforce trigger script not found
- Integrating a single file that was renamed in a source stream to the target stream
- Perforce error when starting up Helix P4V
- Why P4python describe command doesn't return diff contents
- How do you add an AltRoot for Windows using `p4 client` non-interactively?
- How do I fix the Helix Swarm config so it pings the correct hostname
- P4Vs pop up unacessible when opening visual studio
- Detecting renames in perforce
- Perforce swarm reviews allow you to diff between shelf updates. Is there a way to pull a specific revision?
- p4 - How to make one directory in depot exactly match another?
Related Questions in REVISION
- How to prevent CMake rerun after CMakeLists.txt changed?
- Git select ansestor based on commit date
- Polarion API - get the document revision number
- revision method list() return only 3 revisions
- Python InfiniteDefaultRevisionDictionary, any implementations?
- Publish Revision using Drive API returns: The user does not have sufficient permissions to publish revisions for this file
- What do I do when publish revision doesn't work?
- Failed to deploy new revision in Azure Container App
- Git svn fetch restarts from 0 at each branch point
- why does maven search for parent_project:pom:${revision} when building this child_project?
- How to get the ID of a specific gist revision?
- How to change a versioned svn property without changing/adding anything else in a repo?
- Best practice to store Subversion revision info app-wise
- Select from SQL database information with newest revisions
- How we extract inserted script with revisions-objecct of MS word VBA for lots of docx-file
Related Questions in P4V
- P4 change ownership through command line
- Perforce: copy folder/files to local without p4root
- Importing perforce stream into the root directory of another stream
- Perforce error - Path '/Users/aa/Documents' is not under client's root '/Users/aa/Documents/perforce/p4_project'
- Copy files from changelist of a branch to changelist of another branch
- Deleting files from Perforce depot after being added to p4ignore
- Perforce Globally Locked Items after failed/aborted Submit operation (push)
- Perforce triggers objecting to syntax (validation failed: sed: -e expression#1 char 16: unterminated `s' command)
- How to change Default Description of a NEW CL on Perforce Helix P4V
- Create Workspace in P4V using Command Line
- Unable to create a workspace after upgrading Perforce server from 2017 to 2023
- How to get complete change history of any function or variable in perforce? (OR) CLs which has changed a function or variable?
- perforce add file report wildcards (*, %%x, ...) not allowed in '<path>'
- Is it possible to map manual copied files at Perforce?
- P4V How Clobber file during sync but only if it has not changed
Related Questions in GETLATEST
- P4V Get Latest does nothing
- C# TFS Set Latest Information of File programmatically?
- Mysql fetch last element of group
- How to exclude filetypes when getting latest in Perforce
- How to get/filter the latest value of a field?
- MySQL select total latest updates of a type in the last N days
- Fastest way to query latest version in large SQL Server table?
- Check if all files in TFS folder are "latest"
- How to check changes made in specific files in project
- Get Max(date) or latest date with 2 conditions or group by or subquery
- Distinct and latest submissions
- How to automatically get latest version from TFS server in Team Explorer 2013?
- Error when scheduled build in Agent queue tries to sync repository
- Visual Studio 2015: how to "Get Latest Version" only for projects belong solution
- Automatically checking out TFS changes from one machine to another
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 # Hahtags
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.