You can update a work area with changes from the database. For a working or visible project, only the owner of the project can perform the operation. For a build management project, you must be a build manager to perform this operation. The work area must be visible and modifiable by you.
About this task
ccm rwa|recon|reconcile -uwa|-update_wa -p|-project
([-cu|-consider_uncontrolled] | [-iu|-ignore_uncontrolled])
([-mwaf|-missing_wa_file] | [-imwaf|-ignore_missing_wa_file])
([-r|-recurse] | [-nr|-norecurse|-no_recurse])
[-if|-ignore_files|-ignore_types file_type,...] project_spec...
ccm rwa|recon|reconcile -uwa|-update_wa
([-cu|-consider_uncontrolled] | [-iu|-ignore_uncontrolled])
([-mwaf|-missing_wa_file] | [-imwaf|-ignore_missing_wa_file])
([-r|-recurse] | [-nr|-norecurse|-no_recurse])
[-if|-ignore_files|-ignore_types file_type,...] file_spec...
- -cu|-consider_uncontrolled
- Specifies that uncontrolled files are removed from the work area. If the reconcile_save_uncontrolled option is set, the files are moved to the wastebasket. If neither -cu|-consider_uncontrolled or -if|-ignore_files|-ignore_uncontrolled is specified, the default is to ignore uncontrolled files
- file_spec
- Specifies the file or directory to be reconciled.
- -if|-ignore_files|-ignore_types file_type,...
- See Showing work area conflicts.
- -imwaf|-ignore_missing_wa_file
- Specifies to ignore files that are missing from the work area and not to recreate the files from the database copies. The default is to ignore missing work area files.
- -iu|-ignore_uncontrolled
- Specifies to ignore uncontrolled files during reconcile. The default is to ignore uncontrolled files.
- -mwaf|-missing_wa_file
- Specifies to process missing work area files by unusing the corresponding members from the project in the database. The objects are not deleted from the database. The default is to ignore missing work area files.
- -nr|-no_recurse
- See Showing work area conflicts.
- project_spec
- Specifies the project to be reconciled.
- -r|-recurse
- See Showing work area conflicts.
- -uwa|-update_wa
- See Showing work area conflicts.
Example
- Reconcile the directory src in proj1, update the work area from database, and check for missing files.
Windows:
ccm reconcile -missing_wa_file -update_wa c:\users\john\ccm_wa\proj1-1\src
UNIX:
ccm reconcile -missing_wa_file -update_wa /users/john/ccm_wa/proj1-1/src
- Reconcile the project proj1 and subprojects, updating the database from the work area, checking for uncontrolled files.
ccm reconcile -recurse -consider_uncontrolled -update_db -project proj1-1