BK-FIXTOOL(1)
π 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) runbk fmtoolon 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 bey. auto-yes mode, main character energy π-pβ passed through tobk diffto get procedural diffs.-sβ passed through tobk diffto get side-by-side diffs.-uβ passed through tobk diffto get unified diffs.-wβ passed through tobk diffto ignore whitespace in diffs. whitespace who? never heard of her π
π¦ SEE ALSO π¦
bk-citoolbk-diffbk-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
- 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