The Update Command
Top  Previous  Next


Purpose: To update the local working copy of files with a new archive revision.
Syntax: CSRCS Update [command-switches] "file1" ["file2" …]
Abbreviation: upd
Switches:
   /s – Handles files in the specified directory and all sub-directories.
   /p"ProjectName" – Performs operations on all the files in the project.
   /f – Forces the deletion of the unused working files; used in connection with /q.
   /q – Quiet mode. Does not display dialog box and status messages.
Exit code: 0 – success; 1 – otherwise.

Notes:
·Unlike the Check-out command, the Update command does not change the lock state of files and does not suggest to revert modified files to their previous revision.  
·Invoke the Update command before running a project build tool (such as "make").