Model, Component, and Package Management > Model management > Model Explorer > Command line interface - ScfUtils > Reconciling a branch to another branch through ScfUtils (Model Explorer)
  
Reconciling a branch to another branch through ScfUtils (Model Explorer)
ScfUtils provides a command line interface for performing Model Explorer functions. For a complete list of ScfUtils functions, click here Overview of command line interface for Model Explorer functions (Model Explorer)
Through ScfUtils, you can reconcile the tip version of a branch to the tip version of another branch.
If you have installed Modeler to the default locations, ScfUtils resides in the following location:
C:\Program Files (x86)\PTC Integrity Modeler\Modeler\Exe\SCFUtils.exe
Note To reconcile a model you require a Modeler license and a CM Integration license.
Syntax:
ScfUtils - mergesandboxes Enterprise "\\SQL\<source server>\<source database>\<source model>\<source version>" "\\SQL\<target server>\<target database>\<target model>\<target version>" "<log file>" [-X]
Where:
<sourceserver> specifies the name of the server on which the source Database resides. The case of the name must be correct.
<sourcedatabase> specifies the name of the Database that owns the source branch you want to reconcile. The case of the name must be correct.
<sourcemodel> specifies the name of the source branch you want to reconcile. The case of the name must be correct.
<sourceversion> specifies the version of the source branch you want to reconcile. Note that you can only reconcile the tip version of an active branch.
<targetserver> specifies the name of the server on which the target Database resides. The case of the name must be correct.
<targetdatabase> specifies the name of the Database that owns the target branch for the reconcile operation. The case of the name must be correct.
<targetmodel> specifies the name of the target branch for the reconcile operation. The case of the name must be correct.
<targetversion> specifies the version of the target branch for the reconcile operation. Note that you can only reconcile to the tip version of the target branch.
<log file>specifies the path and name of the log file in which you want to record any log messages.
-X specifies that locks are cleared in the two model versions before performing the reconcile operation. Important: Use the -X argument only if you are sure that no other users are using the two source model versions for the reconcile operation.
Example:
ScfUtils -mergesandboxes Enterprise "\\SQL\MyServer@MODELER\MyDatabase\david's sandbox of model\0.0.0" "\\SQL\MyServer@MODELER\MyDatabase\andrew's sandbox of model\0.1.0" "c:\my folder\my logfile.txt" -X