Checking in Files or Folders

You can checkin changes made to locked files or folders in your workspace using the checkin command. This creates a new commit in the semiconductor item revision repository. The checkin command checks in specified files or folders. When a folder is specified, the checkin command operates on the entire folder recursively.


Before you begin:
  • You must have one or more workspaces containing the contents of the semiconductor items being modifed.
  • The workspaces must be up to date with the server version. If the workspaces are not up to date, you get an error message indicating that you must update your local workspaces.
  • Define any exclusions for files that you never want to manage in the repository, for example. *.log files.
  • Lock any files being modified. Checkin will not check in files that have not been locked in your workspace.
See Also
Updating a Workspace
Excluding Objects from Workspace Operations
From the command-line client, run the checkin command.

sws checkin [--dir DIR] --comment "text comment"|--cfile PATH
 [--verbose] [--keep-locks] path [path ...]
For more information on understanding the checkin command, see Understanding the sws checkin Command. For information on each specific option, see sws checkin Command Options.

Result: When successful, this creates a new commit in the repository and unlocks the files included in the operation, even if they are unmodified. If it fails, it returns an appropriate error that helps you diagnose and fix the issues.