The hrefresh command works with hsync to synchronize a file system directory with the contents of a path in a CA Harvest SCM view (working or snapshot).
Server UDPs, which may be post-linked to any CA Harvest SCM process that updates the contents of data views such as promote and demote processes, execute the hrefresh command. The post-link command provides hrefresh with the project, state, and package context information. The hrefresh command uses this information to determine which reference directories should be refreshed for that particular transaction. The hrefresh command then uses hsync to synchronize the files on servers that are defined as reference computers.
At execution time, hrefresh reads a configuration file and selects configuration records that apply to its argument list. For each reference computer record that matches the records in the list, hrefresh asynchronously executes a series of commands, including pre-commands and post commands listed in the configuration file. The hsync command executes after the pre-commands and the post commands follows it. The hrefresh command stores the results of all command executions in a log file located in the hrefresh directory.
Note: A stand-alone server UDP can also execute hrefresh, supporting on‑demand directory synchronization.
|
Copyright © 2013 CA.
All rights reserved.
|
|