BK-FMTOOL(1)

πŸ“¦ version 7.3.3, in alpine 3.24

πŸ’– BitKeeper User’s Manual β€” bk fmtool πŸ’–

okay bestie, this is the BitKeeper User’s Manual page for bk fmtool, and it’s literally the side-by-side merge tool. it resolves differences between two different versions of a file. no cap. ✨

🌸 NAME 🌸

bk fmtool β€” BitKeeper side-by-side merge tool

✨ SYNOPSIS ✨

bk fmtool
bk fmtool local_file remote_file merged_file

πŸ¦‹ DESCRIPTION πŸ¦‹

bk fmtool is a side-by-side merge tool used for resolving differences between two different versions of a file.

If bk fmtool is started without arguments, use the Open button to select the files that you wish to merge.

When fmtool is started, there are three main windows: the β€œlocal” window on the left, the β€œremote” window on the right, and the β€œmerge” window on the bottom. When doing a bk pull, your repository is considered local and the other one is considered remote, and BitKeeper arranges to have the local version of the file on the left side and the remote version on the right.

Merging is done as follows:

  1. bk fmtool starts scanning both files from the top until differences are found. The identical work (i.e. the work up to the point where the differences are found) is put in the merge window.
  2. The user selects whether the remote or local version of the change will be used by clicking the Use Left or Use Right buttons. When the user picks a version, the changes are placed in the merge window.
  3. Repeat the process until all changes are placed in the merge file.

The changes in the merge window are colored so that it is easy to tell whether the work was from the local or remote file.

Each merge may be undone either by clicking the Undo button or using the keys listed below. The undo works all the way to the start of the file.

If you need to make adjustments to the merge, you can edit the work in the merge window. The merge window is a simple editor β€” move the mouse pointer where you want to make the changes and start typing.

πŸŽ€ BINDINGS πŸŽ€

  • Control-LeftArrow β€” Use the diff in the left window.
  • Control-RightArrow β€” Use the diff in the right window.
  • Control-DownArrow β€” Skip the current diff, using neither.
  • Control-UpArrow β€” Undo the last choice.
  • Control-q β€” Exit from bk fmtool.
  • Alt-UpArrow β€” Grow the merge window and shrink the diff windows.
  • Alt-DownArrow β€” Grow the diff windows and shrink the merge window.

The following keys operate on the set of windows that have the focus. Click in the diff windows or the merge window to set the focus.

  • PageDown β€” Scroll the diffs or the merge window up one screen.
  • PageUp β€” Scroll the diffs or the merge window up one screen.
  • DownArrow β€” Scroll the diffs or the merge window up one line.
  • UpArrow β€” Scroll the diffs or the merge window up one line.

🌈 SEE ALSO 🌈

bk-config-gui, bk-merge, bk-merge-binaries, bk-resolving

πŸ‘‘ CATEGORY πŸ‘‘

  • GUI-tools
  • File

Big sign-off from BitKeeper Inc β€” version 1E1 β€” on this bk fmtool(none) page. periodt. πŸ’…βœ¨πŸ«Ά

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