What is the command line syntax to check whether this workspace currently has the latest revision of a certain file?
What is the command line syntax to check whether this workspace currently has the
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The command:
will preview the sync operation. This will tell you which files would be updated were you to use the actual command.
The command:
will tell you the version of the file you currently have. This coupled with:
which tells you the head revision number, will tell you whether you have the latest version or not.
It’s worth noting that all Perforce commands have a preview option that tell you what they would do. This allows you to verify you’ve got the correct command without fear of corrupting your workspace or depot.