IsOnLocalBranch
(VTScada Layer module. Obtain LayerRoot using the following script-only statement: )
LayerRoot = \System.GetLoadedAppInstance(GetGUID(0, \LocalGUID));
Description: | Returns TRUE if the local machine is maintaining changes that have not been deployed within the repository. |
Returns: | Boolean |
Usage: | Script or steady state. |
Function Groups: | Configuration Management |
Related to: | HasCompilationErrors | IsAppEditable | IsRunOnly | HasUndeployedChanges | GetAppInstance | GetLoadedAppInstance | GetOEMLayer |
Format: | LayerRoot.IsOnLocalBranch() |
Parameters: | None |
Comments: |
Also defined as the repository tip being on the local branch. The Layer object can be acquired using GetAppInstance, GetLoadedAppInstance or GetOEMLayer. |