BK-ADMIN(1)
🎀 NAME 🎀
okay so this is bk admin(none) from the BitKeeper User’s Manual — the iconic page for administering BitKeeper files. Yes bestie, it’s giving “one command that does literally everything” energy, and we’re gonna get into all of it 💅
✨ SYNOPSIS ✨
bk admin options [file ... | −]
💖 DESCRIPTION 💖
The bk admin command is used to administer BitKeeper files. There are options for changing per file features, modifying file metadata, verifying file checksum and metadata, changing the file compression mode, and/or recalculating the file checksum. So yeah — it’s a whole toolbox in one little command, no cap 🧰✨
💅 OPTIONS 💅
−C[id]— set or remove the changeset file string in the1.0delta (very rarely used, not recommended). The string is used to associate the file with a particular repository idea and usually the same as the output ofbk id.−D— remove the delta changeset marks (rarely used—not recommended).−fflag— set a per file flag. Many of the flags may be set automatically upon file creation by adding an entry to theBitKeeper/etc/configfile. Seebk help config‐etcfor information on how to do so. The possible values forflagare:BITKEEPER— mark the file as a BitKeeper file (very rarely used, not recommended)EOLN_NATIVE— use the operating system’s native end-of-line termination (i.e.,\r\non Windows and\non all other platforms.)EOLN_NATIVEis set to “on” by default.EOLN_UNIX— use the UNIX end-of-line termination (i.e.,\n) on all platforms.EOLN_WINDOWS— use the Windows end-of-line termination (i.e.,\r\n) on all platforms.EXPAND1— expand keywords in first line that contains keywords only (printf conflicts) (May be set inBitKeeper/etc/config).NOMERGE— do not attempt to automerge this file; treat it as if it were a binary file and always force a choice between the local and remote versions of the file.RCS— expand RCS keywords, i.e.,$keyword$etc. (May be set inBitKeeper/etc/config).SCCS— expand SCCS keywords, i.e.,%K%etc. (Setting this inBitKeeper/etc/configapplies this behavior to all subsequently created files; it does not affect existing files! You must usebk adminto explicitly on existing files.)
−Fflag— delete theflagflag, reverting to default behavior.−h— checks.filestructure in general, but limited to ATT SCCS features.−hh— as above, but also check BitKeeper specific (in addition to ATT SCCS) features.−hhh— as above, but also check time stamps.−i[file]— read initial text fromfile(default stdin).−q— run quietly.−ycomment— makecommentbe the checkin comment for the initial checkin (only valid with−i).−z— recalculate file checksum.−Zalg— compress storeds.filewithalg. Compression is on by default because the space savings are substantial and there is little or no performance difference. The default may be set inBitKeeper/etc/config.algmay be:gzip— likegzip(1)none— no compression
😭 BUGS 😭
ngl, this command does way too much and is likely to be split apart. Do not depend on these options for scripts. Fr fr, that’s a warning bestie — scripts should not be leaning on this chaotic energy 💀
🔎 SEE ALSO 🔎
bk‐check, bk‐checksum, bk‐chmod, bk‐delta, bk‐cset, bk‐get, bk‐id, bk‐new, bk‐log, bk‐keywords, bk‐config‐etc
👑 CATEGORY 👑
Admin
xoxo bestie 💖 source/version: BitKeeper Inc, 1E1; date: none; page: bk admin(none). go forth and administer those files ✨
📦 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