unlock

Unlocks an object

APPLICABILITY

ProductCommand Type
ClearCasecleartool subcommand
ClearCase LTcleartool subcommand

Platform
UNIX
Windows

SYNOPSIS

unlock [ –c·omment comment | –cfi·le comment-file-pname | –cq·uery
| –cqe·ach | –nc·omment ]
{ [ –pna·me ] pname ... | object-selector ... }

DESCRIPTION

The unlock command removes an existing lock from an entire VOB, or from one or more objects, type objects, or VOB storage pools. For a description of locks, see the lock reference page.

RESTRICTIONS

For a description of restrictions, see the lock reference page.

OPTIONS AND ARGUMENTS

For a description of the options to the unlock command, see the lock reference page .

EXAMPLES

The UNIX examples in this section are written for use in csh. If you use another shell, you may need to use different quoting and escaping conventions.

The Windows examples that include wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately.

In cleartool single-command mode, cmd-context represents the UNIX shell or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt.

  • Unlock the label types REL1 and REL2.

    cmd-context  unlock lbtype:REL1 lbtype:REL2 
    Unlocked label type "REL1".
    Unlocked label type "REL2".

  • Unlock the v3_bugfix branch.

    cmd-context unlock cmd.h@@/main/v3_bugfix 

SEE ALSO

lock, lshistory, lslock, protect



Copyright© 2003 Rational Software. All Rights Reserved.