DirectApply
(VTScada-Layer function. Must be called with a leading backslash.)
AlreadyHasLock |
Required Boolean. Set TRUE when we already have the working copy lock. |
RSema |
Required. Repository semaphore, if already held by the caller. |
CallBack |
Required. Module name of the caller performing the changes. |
FileSet |
The set of files to be changed, identified using a path relative to the working-copy. |
User |
The user ID that is to be applied to the change. |
Comment |
Any text value that is the comment to be stored in the version log for this change. |
pFail |
A pointer to a Boolean. This will be set TRUE on failure. |
Comments: |
This function uses a callback system to acquire a set of changes against the repository tip versions of a file or group of files (both the local and deployed versions) and then applies those changes directly to the local and deployed repository tips without altering the working copy. Callback ( DeployChangeSet { Set of deploy buffers, make changes to these }; LocalChangeSet { Set of local buffers, make changes to these }; RSema { Repo semaphore }; pComment { Comment pointer allowing late editing }; ) This module launches a worker module into the Layer so that the operation is not interrupted by this module's caller being slain. In the case that the current machine is not supporting an open local branch the LocalChangeSet callback parameter will be invalid. |
Examples:
none provided