use command

You can replace an existing file, directory, or project with another version. Additionally, you can add a file, directory, or project that is in the database, but not in the current directory. When you add an object to a non-modifiable directory, a new directory version is checked out automatically.

If you are working in a shared project and the directory is non-modifiable, the directory is checked out and associated automatically with the default task. The directory is then checked in to the integrate state. You can disable automatic check-in by setting shared_project_directory_checkin to FALSE in your initialization file. (See shared_project_directory_checkin.)

The following applies if you are using a different version of a subcomponent. If the subcomponent is a static subproject or product with a component that is different from the parent project, the different version of the subproject or product is associated with the current task. Disable this feature by setting add_used_subcomponents_to_task to FALSE in your initialization file. (See add_used_subcomponents_to_task.)

When you use a directory, the directory is updated automatically. You must check in the directory to make the files available to other users.

The use command supports these subcommands:


Feedback