BK-UNLOCK(1)

πŸ“¦ version 7.3.3, in alpine 3.24

πŸ’… bk unlock β€” remove BitKeeper repository locks πŸ’…

okay so this is the BitKeeper User’s Manual page for bk unlock (page id: bk unlock(none)), and it’s giving β€œcleanup era” ✨. bestie, this is the command you hope you never need, but when a lock is being a little gremlin, here’s the tea. 🫢


🌸 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. lowkey that’s the whole plot. 😭

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. please and thank you, bestie 🫢

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. okay so stale = local-made but the process ghosted πŸ‘».

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. 🚨 no cap, RESYNC is its own whole situation.

πŸ’… OPTIONS πŸ’…

  • βˆ’r β€” Remove all read locks, stale or not. all of ’em, periodt.
  • βˆ’s β€” Remove both read and write locks, but only if they are stale. stale-only vibe check.
  • βˆ’w β€” Remove the write lock, stale or not. Does not remove the RESYNC directory. yes, it said what it said 🫣

πŸ¦‹ SEE ALSO πŸ¦‹

  • bk‐lock
  • bk‐abort

πŸ‘‘ CATEGORY πŸ‘‘

  • File
  • Repository

sign-off time, bestie: BitKeeper Inc, version 1E1, page bk unlock(none); date: not listed on this page. that’s the whole manual-page moment β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from
  • alpine 3.24: bitkeeper-doc 7.3.3-r1 Β· Apache-2.0
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms