BK-PARENT(1)

πŸ“¦ version 7.3.3, in alpine 3.24

πŸ’… bk parent β€” manage repository parent pointer[s] πŸ’…

BitKeeper User’s Manual, section none β€” okay so that’s the manual name folded in right at the top, bestie. ✨

🌸 NAME 🌸

bk parent β€” manage repository parent pointer[s]. Yes, plural pointer[s], we contain multitudes. πŸ’–

✨ SYNOPSIS ✨

bk parent [βˆ’a|βˆ’r|βˆ’s] [βˆ’1iloq] [repository] [repository]

Like, there are moods for this command:

πŸŽ€ SETTING PARENT POINTERS πŸŽ€

bk parent βˆ’s [βˆ’ioq] repository [repository]

🫢 ADDING PARENT POINTERS 🫢

bk parent βˆ’a [βˆ’ioq] repository [repository]

πŸ’” REMOVING PARENT POINTERS πŸ’”

bk parent βˆ’r [βˆ’ioq] repository [repository]

πŸ¦‹ LISTING PARENT POINTERS πŸ¦‹

bk parent [βˆ’1iloq]

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so bk parent is the command that lets you set, add, adjust, remove, or list parent pointers for a repository. A parent pointer is a BitKeeper URL β€” it’s the location from or to which a repository gets or sends updates when running bk pull or bk push. The typical case is that a repository has only one β€œparent,” but it is possible for a repository to have multiple parent pointers, and each pointer may be incoming, outgoing, or both. Lowkey flexible, highkey iconic. πŸ’…

When setting the parent pointer, the parent command is backwards compatible with earlier versions if and only if there is currently no parent pointer or there is one and only one push/pull parent pointer. No cap.

The parent is automatically set when a repository is cloned and will be named according to the access method β€” see bk help url for more information. Automatic and method-named, we love a self-sufficient icon. πŸŽ€

πŸ’… OPTIONS πŸ’…

  • βˆ’1 β€” List only the first parent found. May be combined with βˆ’i or βˆ’o to list the first incoming or outgoing parent pointer[s] respectively. First one only, main character energy.
  • βˆ’a β€” Add the specified parent pointer to the list of parents. May be combined with βˆ’i or βˆ’o to add just the incoming or outgoing parent pointer[s] respectively. Adding to the group chat, but for repo pointers.
  • βˆ’i β€” Operate only on incoming (pull) parent pointers. May be used when setting, adding, adjusting, removing, or listing parents. Incoming only, bestie.
  • βˆ’l β€” List the parent pointer[s] without any annotations, one per line. May be combined with βˆ’i or βˆ’o to list just the incoming or outgoing parents respectively. Clean list, no extra commentary, one per line.
  • βˆ’o β€” Operate only on outgoing (push) parent pointers. May be used when setting, adding, adjusting, removing, or listing parents. Outgoing only, slay.
  • βˆ’q β€” Do not produce output when adding/removing/listing parents. May be combined with βˆ’i or βˆ’o to query whether the repository has an incoming (pull) or outgoing (push) parent pointer, exit status will be 0 if any matching parent pointers where found, otherwise exit status is 1. Quiet mode: the vibes are silent, the exit status speaks.
  • βˆ’r β€” Remove the parent pointer. May be combined with βˆ’i or βˆ’o to remove just the incoming or outgoing parent pointer[s] respectively. Using βˆ’i or βˆ’o on a bidirectional parent pointer converts the parent pointer to unidirectional. It’s giving β€œbreakup, but make it directional.”
  • βˆ’s β€” Set the parent pointer[s] to the specified list, replacing any existing pointers. This option is always required to override any existing parent pointers except in the case that there is only one bidirectional parent pointer and it is being replaced with one bidirectional parent pointer (backwards compat). Big β€œreplace the whole vibe” energy.

😭 BUGS 😭

The term parent is somewhat of a misnomer in a peer to peer system. Since it is quite common to use BitKeeper repositories in a parent/child relationship most of the time, we have stuck with the term. Ngl, the terminology ate, even if it’s not technically perfect.

πŸ‘‘ SEE ALSO πŸ‘‘

  • bk‐bkd
  • bk‐changes
  • bk‐clone
  • bk‐pull
  • bk‐push
  • bk‐url

Go read these next, bestie. 🫢

🌈 CATEGORY 🌈

Repository. That’s the category, periodt.


Cute sign-off: BitKeeper Inc made this, the date/version slot says 1E1, and the footer title is bk parent(none) β€” that’s the whole footer, and I’m obsessed. πŸ’–πŸ’…πŸ«Ά

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