polyspace-project -diff, polyspace-project -merge
(System Command) Compare and merge Polyspace Platform projects before submission to source control
Since R2023b
Syntax
Description
The polyspace-project -diff, polyspace-project -merge system
command allows you to compare and merge Polyspace® Platform projects in a diff/merge tool (or automatically merge projects at the
command line).
Compare Projects
polyspace-project -diff
opens a diff/merge tool for comparing the projects latestProject myProjectlatestProject and
myProject. The project structure of
latestProject appears on the left and that of
myProject appears on the right.
Merge Projects
polyspace-project -merge
opens a diff/merge tool for comparing and merging the projects
latestProject myProject [-target mergedProject]latestProject and myProject. The project
structure of latestProject appears on the left and that of
myProject appears on the right.
polyspace-project -merge
opens a diff/merge tool for comparing and merging the projects
baseProject latestProject myProject [-target mergedProject] [-auto]latestProject and myProject with a base
project baseProject. The project structure of
latestProject appears on the left with
baseProject in the middle and myProject on the
right. The option -auto initializes the merged project with the result
of an automatic merge (otherwise, the merged project is initialized with
myProject).
Automatically Merge Projects
polyspace-project -auto-merge
attempts to automatically merge the projects baseProject latestProject myProject [-target mergedProject]latestProject and
myProject with respect to a base project
baseProject.
Examples
Input Arguments
Version History
Introduced in R2023b