How can I fix 'not mergeable' errors in a review?
The problem can occur when you attempt to or via the Swarm UI and the shelved files are out of date.
Helix Swarm cannot currently help with resolving conflicts; you need to use a Helix client such as p4 or P4V to resolve conflicts.
Resolve via P4
-
Acquire a local copy of the files.
-
Sync the files to the head version:
$ p4 sync -
Begin resolving files with:
$ p4 resolveChoose an appropriate option to resolve each file. For example:
$ p4 resolve /home/bruno/bruno_ws/dev/main/jam/command.c - merging //depot/dev/main/jam/command.c#9 Diff chunks: 4 yours + 2 theirs + 1 both + 1 conflicting Accept(a) Edit(e) Diff(d) Merge (m) Skip(s) Help(?) e: -
Re-shelve the resolved files with:
$ p4 shelveNote
Ensure that the changelist description contains
#review-12345(separated from other text by whitespace, or on a separate line), where12345is the identifier of the review you are updating.Warning
If you use an invalid review identifier, it will appear that nothing happens. Swarm is currently unable to notify you of this situation.
Tip
For more information, see: P4 User's Guide: Resolve
Resolve via P4V
-
Acquire a local copy of the files.
-
Context-click your workspace folder in P4V's Workspace tab. Select . The Resolve dialog appears.
-
Choose the appropriate options to resolve each file.
-
Context-click your workspace folder in P4V's Workspace tab. Select . The Shelve dialog appears.
Note
Ensure that the changelist description contains
#review-12345(separated from other text with whitespace, or on a separate line), where12345is the identifier of the review you are updating.Warning
If you use an invalid review identifier, it will appear that nothing happens. Swarm is currently unable to notify you of this situation.
-
Click .
Tip
For more information, see: P4V Online Help: Resolving Files