If the -last option is specified, the last version is checked out regardless of the content of the current collection. In all the check-out operations, if path can not be resolved and if it does not contain a reference to a NUCM server, dvs automatically looks up the default server . If path has been created by a check out operation, then a new version is created and checked in, provided that the current version is locked. To do so, such a collection must exist and it must be locked. The initial version number of an artifact is 1.
Collections have to be explicitly checked in.
Checking in a collection also requires that collection to be locked. If the -l option is specified, the new version is immediately locked. In any case, for every artifact that is checked in, dvs prompts for a log message to be attached to the new version. After a check-in is completed, the previous version is automatically unlocked. Note that if the artifact is new, then the collection that contains it is not automatically checked in and unlocked.