C:\DITA\WKFS_oXygen_Files\fragments\webhelp.fragment.head.xml
Jump to main content C:\DITA\WKFS_oXygen_Files\fragments\webhelp.fragment.before.body.xml

# Three Way Merge

Selecting Compare with Common Base from the content menu of the REQ Diffs window allows you to view the differences of each version of the document in the following windows:

- Incoming: shows the incoming version of the document
- Existing: shows the existing version of the document
- rqdif pane: displays the selected document and dynamically changes based upon the items selected or rejected in the Incoming and Existing windows

  On the tabs you will see numbers, {Change Number Total} ({Total number of conflicts} – {Total number of conflicts left}).

Figure 1. Example of Three-Way Merge
Note: During a three way merge, expanding or collapsing a node in any of the windows (rqdif, Incoming or Existing) synchronously expands or collapses the corresponding node in the other two windows.
Note: Regarding merging empty transactions

Requirements Editor supports the merging of empty TXN transactions of the Default Data REQ files. This merge only happens when there is an empty transaction on the Incoming side, otherwise the merge does not occur and the tab is not displayed.

A merged empty transaction tab functions exactly as in the other tabs (Outline, Field Grid, etc.). The document status is set to Impacted and the transaction ChangeBlock is added to the Remaining count.

For more information, refer to Empty Transactions Tab

## Merging PDF Documents

Merge functionality also exists for PDF requirement documents. Selecting the PDF tab of any of the merge windows displays the PDF preview in all three windows as shown in the following example.
To help facilitate selecting the desired document, four buttons are provided at the bottom of the rqdif pane.
C:\DITA\WKFS_oXygen_Files\fragments\webhelp.fragment.after.body.xml