Checking Perforce Client File Copies

I have a large Perforce repository, and I believe that my client currently has about 2 GB of files that are synchronized with the server, but the best way to check my files is to complete, synchronous and updated to this level of change (which is possible higher than multiple files on the client at present)?

I see the p4 verification command, and these are MD5s, but they just look from the server in different versions for the file. Is there a way to compare MD5 on the server with the MD5 required revision on my client?

Basically, I try to minimize bandwidth and the time taken to achieve a full scan. I do not want to have sync -f to a specific revision number. I just need a list of any files that don't match the level of change I'm trying to achieve. Then I can programmatically force synchronization of these several files.

+4
source share
2 answers

You want p4 diff -se.

This should do the hashing of the md5 client file and compare it with the stored hash on the server.

+8
source

Perforce is designed to work when you report the checked status of all your files. If you or other programmers in your team use perforce and edit files that have not been extracted, this is a real problem that you need to fix.

+1
source

All Articles