Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 CLI Documentation | 2025.1

# How conflicts occur

Conflicts can occur in a number of ways, for example:

1. Bruno opens `//JamCode/dev/jam/command.c#8` for edit.
2. Gale subsequently opens the same file for edit in her own client workspace.
3. Bruno and Gale both edit `//Jamcode/dev/jam/command.c#8`.
4. Bruno submits a changelist containing `//JamCode/dev/jam/command.c`, and the submit succeeds.
5. Gale submits a changelist with her version of `//Acme/dev/jam/command.c`. Her submit fails.

If P4 Server accepts Gale’s version into the depot, her changes will overwrite Bruno’s changes. To prevent Bruno’s changes from being lost, P4 Server rejects the changelist and schedules the conflicting file to be resolved. If you know of file conflicts in advance and want to schedule a file for resolution, sync it. P4 Server detects the conflicts and schedules the file for resolution.

Your search for returned results