P4 Merge P4 Merge file-comparison software with documented merge workflows and compatibility limits.
Overview P4 Merge, also known as P4Merge, is Perforce's visual file comparison and merge application. It can compare text and supported raster images and combine two text revisions against a common base. Its documentation explicitly permits comparing files that are not versioned in P4 Server, so its local comparison role is broader than reviewing a Perforce depot.[1] [2] [3]
Contents Three-way text merging The merge view places the base between two changed inputs and presents an editable result below. Users can select text from the inputs or enter their own result, then save it before closing. The arrangement supports resolving competing revisions, but selecting a result in the tool is not itself a submission to a version-control server or proof that the resulting program behaves correctly.[3]
Image differences Supported raster formats include PNG, JPEG, GIF, BMP and TIFF among others. Images can be shown side by side or overlaid, with adjustable highlighting sensitivity and blend balance. This assists visual asset review. The documented controls compare rendered images; they do not establish that layered image projects or their editable components can be merged in the same manner as text.[4]
Local files and version history The local tool accepts files outside P4 Server. By contrast, the image guide points users to P4V for time-lapse revision viewing. Local comparison and hosted revision history are therefore different scopes. Someone using P4 Merge as an external helper should check the calling client's input order and result-save workflow rather than assuming the merge application owns repository state.[2] [3] [4]
Distribution and cost model Perforce advertises P4 Merge as a free comparison tool. Its P4V installation documentation includes P4 Merge among bundled client applications and provides Windows, macOS and Linux package routes. Free access to this client does not establish an open-source license or free capacity for every related Perforce server or service. The local-file scope remains separate from P4V's server-connection prerequisites.[1] [2] [5]
Substitution scope P4 Merge can replace Araxis Merge for comparing individual text files, reviewing supported images and performing base-aware text merges. The assessment is narrower than Araxis's folder hierarchy synchronization, office-text extraction and binary-byte comparisons. Users needing those additional views should not infer them from the shared ability to resolve a three-way text conflict.[3] [4] [6] [7]
Also included: 2 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.