BK-MERGE-BINARIES(1)

📦 version 7.3.3, in alpine 3.24

bk merge‐binaries 🌈✨

okay bestie, welcome to the BitKeeper User’s Manual page for bk merge‐binaries — and yes, the manual name is literally none. mysterious much? 💅


NAME 🎀

bk merge‐binaries — help on merging binary conflicts

DESCRIPTION 💖

okay so this section documents the binary merge process started by the resolve command. See bk resolve for details on using resolve.

While in resolve, you can hit the return key to see a summary of the commands. slay.

BitKeeper has no built in mechanism to merge binaries, since it does not know what is in the binaries. The built in choices you have are outlined in the resolver, and amount to choosing either the local or the remote version of the file. no cap.

The built in choices do not include a file viewer since BitKeeper does not know what to use. You can call your own file viewer. Suppose you knew that the file was a gif and you wanted to look at each of them to choose which one to use. You could do a

logo.gif>> !xv $BK_LOCAL
logo.gif>> !xv $BK_REMOTE
logo.gif>> ul

to view each and then choose the local version. iconic behavior honestly.

You may also call an external tool to merge changes.

logo.gif>> !command

then command will be run with the appropriate environment variables set. This technique may be used to use any external merge tool. periodt.

ENVIRONMENT VARIABLES 🌸

  • BK_LOCAL — pathname of a temp file containing the local version
  • BK_GCA — pathname of a temp file containing the common ancestor
  • BK_REMOTE — pathname of a temp file containing the remote version
  • BK_MERGE — pathname where the merged content should be placed

NON‐BINARY FILES 🦋

Sometimes a file may be marked as binary incorrectly, where incorrectly means that normal text based tools would work on this file. You may force the file to be treated as a text file with the "t" command. This drops into the normal text file resolver. lowkey handy.

SEE ALSO 👑

bk‐revtool, bk‐resolve, bk‐resolving

CATEGORY 📚

  • Overview
  • Repository

xoxo bestie 💖 huge love to BitKeeper Inc, the 1E1 source/version/date tag, and the footer’s bk merge‐binaries(none) — 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