BK-CMDLOG(1)
๐ NAME ๐
okay so bestie, this is bk cmdlog โ the BK-CMDLOG(1) page, straight outta the BitKeeper Userโs Manual and sitting in the (none) section like it owns the place. ๐ It shows the log of commands executed in this repository. No cap, thatโs the whole name-vibe. โจ
๐ SYNOPSIS ๐
bk cmdlog [โS] [โa] [โv] [โccutoff] [pattern]
bk cmdlog [โr] [โccutoff] [pattern]
two moods, same command, we love a flexible icon. ๐
๐ฆ DESCRIPTION ๐ฆ
This lists the history of repository level commands that were run in the repository of the current directory. The repository level commands are bk clone, bk commit, bk export, bk pull, and bk push โ those are the main characters. ๐
Commands are listed in least recent to most recent order, so oldest first, newest last. chronological slay. โณ
๐ OPTIONS ๐
heads up: the synopsis hasโSin it, but the OPTIONS section doesnโt giveโSits own description. Iโm not inventing one โ we respect the lore. ๐ซก
โSโ appears in the synopsis, bestie; this page gives it no separate option blurb. ๐โaโ list history of all commands run in the repository, not just repository level commands. ๐๏ธโccutoffโ list commands which happened during the date range specified bycutoff. ๐โrโ list command start and stops with relative times. This impliesโa. โฑ๏ธโvโ each line of output is prefixed withuserid, timestamp and BK version. Combined with theโaoption, everything is listed, including commands run by BK itself. ๐- pattern โ limit the output to lines matching (regexp)
pattern. ๐ฏ
โญ EXIT STATUS โญ
bk cmdlog returns exit status 0. thatโs it, no plot twist. ๐โจ
๐ NOTES ๐
The two command logs are maintained by BitKeeper in the BitKeeper/log directory. repo_log contains all repository level commands ever run in that repository. cmd_log contains recent commands run in that repository. ๐๏ธ
Inside the cmd_log file, commands are logged at the time they start and at the time they finish. By default, cmdlog output is limited to the latter. Using the โav options, both the start and finish of commands is listed (as well as other events such as trigger launches). ๐
The relative times displayed by the โr option are only printed if the bk version logged those times. Earlier versions of BitKeeper did not log this data so it will not appear in the output. ๐ฐ๏ธ
When using the โr option, the relative time is in seconds and relative to the first user level command. For example, the start of a bk pull would be 0 seconds, all the subordinate logs will be relative to that. The final entry will represent the run time of the pull command. ๐งฎ
๐ SEE ALSO ๐
bkโrangeโ go read that one too, bestie. ๐
๐ CATEGORY ๐
- Repository โ thatโs the category, periodt. ๐
footer tea, for the record: source BitKeeper Inc, version 1E1, and the date spot says bk cmdlog(none). bye bestie โ go log something iconic! ๐๐ฆ๐
๐ฆ where this page comes from
- alpine 3.24: bitkeeper-doc 7.3.3-r1 ยท Apache-2.0
- Copyright (c) 1998-2015 BitKeeper Inc
- Copyright (C) 1989, 1990, 1991, 1992, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms