Manpage logo

bk-unlock - (unknown subject)


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 [email protected] 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 not imply removing the RESYNC directory, see bk help abort for that.

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


Updated 2026-06-01 - jenkler.se | uex.se