unlock

Unlocks an object

Applicability

Product

Command type

VersionVault

cleartool subcommand

VersionVault Remote Client

rcleartool subcommand

Platform

UNIX®

Linux®

Windows®

Synopsis

  • VersionVault:
    unlock [ –c/omment comment | –cfi/le comment-file-pname | –cq/uery
    | –cqe/ach | –nc/omment ] [ –ver/sion version-selector ]

    { [ –pna/me ] pname ... | object-selector ... }

  • VersionVault Remote Client:
    unlock [ –c/omment comment | –cq/uery
    | –cqe/ach | –nc/omment ] [ –ver/sion version-selector ]

    { [ –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 system and Linux 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 system and Linux shells 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