LOCK UNLOCK

Description

Undoes item locks on a server.

Usage

cm lock unlock <itemspec>[ ...] [--remove]

Options

Option / ArgumentDescription
--removeRemoves the locks completely for the specified items. If this option is not specified, it only releases the Locked status.
itemspecOne or more item specs. (Use 'cm help objectspec' to learn more about itemspecs.)

Help

Remarks

  • Only the administrator of the server can run the 'cm unlock --remove' command to delete locks.
  • Only the administrator can release locks that belong to other users. Users can release their own locks.

Examples

cm lock unlock itemid:56@myrep@DIGITALIS:8084

(Releases the lock for the item id 56 in the repo 'myrep@DIGITALIS'.)

cm lock unlock item:/home/user/workspace/foo.psd item:/home/user/workspace/bar.psd

(Releases the selected item locks.)

cm lock unlock itemid:56@myrep itemid:89@myrep --remove

(Removes the selected items locks.)