miroxlav
miroxlav

Reputation: 12194

Perforce – Reconcile offline work detects false positives

When I run Reconcile offline work against certain directory subtree, two old untouched SQL files pop up as modified and I am offered to insert them into a changelist. But they are actually unchanged (I verified their binary images) and their File Type is correct (it is Unicode, file content is valid and they have BOM at the beginning).

I tried this remedy which appeared logical to me:

  1. revert them from the changelist (where they were added by Reconcile offline work)
  2. remove them from the workspace (i.e. sync to rev. #0)
    • after this step, they were actually deleted from file system (verified)
    • after files were deleted from workspace, Reconcile offline work no longer reports them
  3. get their latest revision again (with Force option enabled)
    • after this step, Reconcile offline work can find them again! – it should not

How can I teach the Perforce there is nothing wrong with these files?

(Can this be problem with the P4 database? Or with connection encoding? It is set to UTF-8 (Unicode) for all connections in P4V preferences.)

Upvotes: 0

Views: 667

Answers (1)

Samwise
Samwise

Reputation: 71454

My guess based on available information is that the server-side checksum does not match the file content (possibly because the file content on the server itself has been modified in some way since the checksum was computed -- this shouldn't happen). Your admin can test this with the "p4 verify" command, and if desired update the checksum to match the new content with "p4 verify -v".

Upvotes: 0

Related Questions