BK-FIXTOOL(1)

πŸ“¦ version 7.3.3, in alpine 3.24

πŸŽ€ NAME πŸŽ€

bk fixtool β€” bestie's little cleanup crew for pending changes πŸ’…

(oh and hi, this is from the BitKeeper User's Manual, in case u were wondering where the lore comes from πŸ¦‹)


✨ SYNOPSIS ✨

bk fixtool [-fpsuw] [file ...]

🌸 DESCRIPTION 🌸

okay so picture this: you've made a bunch of changes to your working files, you're about to create a delta, and then you look at your diff and go 😭 because half of it is debugging messages and pure chaos mixed in with the actual good work you wanna keep. That's literally exactly what bk fixtool is for β€” it lets you revise the changes you made to one or more working files before you create a delta. Typically you reach for it right before a check in, when you realize there's unwanted work (hi, debugging messages πŸ‘‹) tangled up with the useful work that should be saved.

Here's the mechanics, no cap: bk fixtool calls bk gfiles -c to find files that have been changed. By default it finds all the changed files, but you can totally control that by specifying a set of files and/or directories. iykyk 🫢

For each changed file, bk fixtool does this little routine:

  • clears the screen 🧼
  • shows the changes (via bk diff) πŸ‘€
  • and prompts you for an action πŸ’¬

The action has to be a letter followed by Enter. Your choices are:

  • n β€” (no) skips this file and continues to the next file. πŸšΆβ€β™€οΈ
  • q β€” (quit) stop processing files. βœ‹
  • u β€” (unedit) discards all changes made to the named file. πŸ’€
  • y β€” (yes) run bk fmtool on the previously checked in version of the file and the current working file. This is most commonly used to remove debugging statements while leaving the new work. 🧚
⚠️ heads up bestie: when you have selected the changes you want, clicking Done saves your merges, overwriting the current working file. like, actually overwriting it. be sure. πŸ™ˆ

πŸ”₯ OPTIONS πŸ”₯

  • -f β€” forces the answer to all prompts to be y. auto-yes mode, main character energy πŸ‘‘
  • -p β€” passed through to bk diff to get procedural diffs.
  • -s β€” passed through to bk diff to get side-by-side diffs.
  • -u β€” passed through to bk diff to get unified diffs.
  • -w β€” passed through to bk diff to ignore whitespace in diffs. whitespace who? never heard of her πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

  • bk-citool
  • bk-diff
  • bk-fmtool

πŸ“ CATEGORY πŸ“

  • File
  • Repository

and that's the whole page, bestie 🌈 β€” brought to you by BitKeeper Inc, manual page version 1E1, for bk fixtool(none). slay, go fix ur diffs πŸ’–βœ¨

πŸ“¦ 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