If the purge option is not enabled, hsync deletes files in the reference directory that meet the following conditions:
If an item is selected, but does not have a version in the check-out version list and a file exists with the same name in the reference directory and it has read-only permission, the file is deleted. Like check-out, hsync reports an error if the file has write access. For each item path in the inventory, but not in the check-out version list, if the directory has no files other than a signature file, the directory is deleted. After files are deleted from the reference directory, check-out is executed using the previously selected version list.
Files that do not correspond to items in CA Harvest SCM are not touched; therefore, the directory may contain files from some other source.
If a new item is demoted so that no version of the item remains in the current view, the hsync -iv option does not delete the corresponding file in the directory because the item is not in its inventory. For scenarios like this one, use the purge option.
|
Copyright © 2013 CA.
All rights reserved.
|
|