This sample is provided to show DeltaXML Merge integration with git for merge and update operations.
The sample currently supports the command-line client usage on a unix system.
Please read the comments from the shell-script provided in the sample directory for detailed configuration steps.
The git merge process with DeltaXML Merge takes you in a loop which opens each conflicted file in the editor one after another and then merge waits until conflcits are resolved manually.
By default, the script opens each file using the default application for that file. If oXygen editor is installed on the system, then it can be used as the default application for xml files.
After conflicts are resolved and a file is saved, an xslt filter runs automatically to remove deltaxml attributes from root element.
DeltaXML Merge can be used with parameter 'result-type'.
The parameter 'result-type' works well with one of the following settings available at commandline:
The simplfied result types show three way merge results and are easier to understand.
These results have deltaxml markup and attributes only for the changes. So it is easier to edit and resolve conflicts.
The result types: conflicting-changes, their-changes and all-changes are three to two merge results. For more details, please visit three to two way merge use cases guide.
These results also have deltaxml markup only at the change but
deltaxml:deltaV2 atrributes are appear throughout xml
hierarchy. Users should remove these attributes manually.
oXygen track change instructions can also be applied to these output formats which will allow the user to accept and reject changes
result-format command-line option can be used to select this output format.