BK-CMDLOG(1)

๐Ÿ“ฆ version 7.3.3, in alpine 3.24

๐Ÿ’– 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 โˆ’S in it, but the OPTIONS section doesnโ€™t give โˆ’S its 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 by cutoff. ๐Ÿ“…
  • โˆ’r โ€” list command start and stops with relative times. This implies โˆ’a. โฑ๏ธ
  • โˆ’v โ€” each line of output is prefixed with userid, timestamp and BK version. Combined with the โˆ’a option, 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
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms