bk unlock(7.3ce)            BitKeeper User's Manual           bk unlock(7.3ce)

NAME
       bk unlock - remove BitKeeper repository locks

SYNOPSIS
       bk unlock [-rsw] [<file> ...]

DESCRIPTION
       The  unlock  command  can  be used to remove locks which have been left
       behind for some reason.  In general, you shouldn't need  this  command,
       if  you  do  it  indicates that BitKeeper is leaving lock files that it
       should not.  In that case, please tell support@bitkeeper.com so we  can
       fix that problem.

       The  unlock command can be used to remove repository level locks.  This
       can be necessary if a remote process has  left  behind  a  lock  (local
       stale  locks  are detected and cleaned automatically).  A stale lock is
       one which has been  created  locally  but  the  process  is  no  longer
       present.

       Note:  a repository can have two write locks: the regular lock file and
       the existence of the RESYNC directory.  Removing the  write  lock  does

OPTIONS
       -r  Remove all read locks, stale or not.
       -s  Remove both read and write locks, but only if they are stale.
       -w  Remove  the  write  lock, stale or not.  Does not remove the RESYNC
           directory.

SEE ALSO
       bk lock
       bk abort

CATEGORY
       File
       Repository

BitKeeper Inc                         1E1                     bk unlock(7.3ce)