RepoSubscribe

Description: Allows the caller to specify a callback which will be triggered whenever the application’s repository changes
Returns: Nothing
Usage: Script Only.
Function Groups: Configuration Management
Related to: WCSubscribe |
Format: RepoSubscribe(Subscriber[, Callback])
Parameters:  
Subscriber
Required. Scope of the destination for the published messages.
CallBack
Optional. Name of the module to call in the Subscriber when something is published. If invalid, this will default to "RepoNotify".
Comments: The callback is provided with a dictionary of the changed files.
Note that since these changes may not be reflected in the working copy (and therefore not affect the application) the WCSubscribe function is recommended in most cases.

Examples: