BK-REPOTYPE(1)
π bk repotype β display repository type
ok so this is bk repotype, straight out of the BitKeeper User's Manual (section none, if you were wondering) π
β¨ SYNOPSIS β¨
bk repotype [-q] [directory]
π¦ DESCRIPTION π¦
bestie, this command literally just tells you what kind of repo you're standing in π
it prints the type of the repository, and that type is one of exactly three gorgeous little options: traditional, product, or component. that's it. that's the whole vibe check πΈ
and like, important lore: all repositories created by versions of BitKeeper prior to bk-5.0 are traditional standalone repositories. no cap, every single one π«Ά
also β if you pass a directory, BitKeeper will change to that directory before running the command. it's giving "walk in, then do the thing" energy β¨
π OPTIONS π
-qβ Run quietly, exit status only. no chatty output, just the number, iykyk π€«
π EXIT STATUS π
ok this is the part where you actually pay attention, because the exit codes are doing the most π
When run without -q, the exit status is 0 for all valid repositories, and is 3 otherwise.
When run with -q, bk repotype returns exit status:
0β if run on aproductrepository π1β if run on acomponentrepository π§2β if run on atraditional(standalone) repository π3β if run on a non-repository or if some other error occurs π
so with-qyou're getting an actual answer inside the exit code itself β like the number literally tells you which of the three types you have. iconic, honestly. but also3means "nope, not a repo, or something went wrong" so don't go mistaking it for a fourth type π
π CATEGORY π
Utility
β SEE ALSO β
that's it, no SEE ALSO entries β this page keeps its circle small π
and that's the whole page, bestie!! brought to you by BitKeeper Inc, version 1E1, dated bk repotype(none) β slay, go check your repo type πβ¨
π¦ 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