Populate Options
Perforce will populate the workspace with the file revisions
needed for the build. The different options effect the way the
workspace is cleaned and the file revisions are updated.
There are three options:
- Automatic Cleanup and Sync
-
Efficient cleaning and syncing of file revisions. Extra (non
versioned files) are removed, missing and modified files re-added. Best
for clean builds.
This option can also be triggered by creating a boolean parameter on the build called
"P4_AUTO_CLEAN_AND_SYNC" (also replaces missing/modified files and deletes generated files).
- Force Clean and Sync
- Will remove all files from under the workspace root, then
force sync the required files. Inefficient and NOT RECOMMENDED.
This option can also be triggered by creating a boolean parameter on the build called
"P4_FORCE_CLEAN_AND_SYNC" (also populates have list)
- Sync Only
-
No cleanup attempted; the sync will update all files (as CLOBBER is
set) to the required set of revisions. Best for incremental builds.