BK-CHECKSUM(1)
π bk checksum β BitKeeper Userβs Manual π
Okay bestie, manual name folded in right at the top: this is the bk checksum page from the BitKeeper Userβs Manual. Letβs get into it. β¨
π NAME π
bk checksum β check and/or fix BitKeeper per file checksums. Thatβs the whole assignment, no cap. π
πΈ SYNOPSIS πΈ
bk checksum [βs[offset]] [βfv] [βrrev] [file ... | β]
π¦ DESCRIPTION π¦
Okay so BitKeeper has more integrity checksums than the original SCCS had β and yes, SCCS had one over the whole s.file. BitKeeper keeps a checksum thatβs compatible with SCCS, plus a whole new set of checksums, one per delta. This command is typically used to check and/or regenerate those per delta checksums. With no options at all, the default behavior is just to check each checksum and warn about any checksums that are missing or incorrect. π
This command may also be used to print a list of checksums of arbitrary data β see the βs option. π
π WARNING π
Okay bestie, pay attention, because this is the serious one. The per delta checksums are part of the delta keys which are contained in the ChangeSet file. These keys are part of the metadata which BitKeeper uses to group deltas into changesets. If the checksums are changed, the checksums in the ChangeSet file must be correspondingly changed, and the process repeated for each copy of the repository.
Needless to say, we do not encourage the use of this command with the βf option unless you are very sure of what you are doing. π¨
β¨ OPTIONS β¨
βfβ fix any missing or incorrect checksums. π οΈβrrevβ limit checks to one revision. Faster than checking the whole file if the problem delta is known. β‘βs[off]β generate and print the SCCS style 16 bit unsigned checksum starting at offset off. If off is 8, then this generates the same checksum as the per file checksum. If there are no file arguments, reads data from stdin (note: differs from other options which obey the normal BitKeeper file expansion rules). π₯ββsafeβfixβ only do fixes which do not alter the deltakey. The fix removes an unneeded merge parent. π§βvβ be verbose. π£οΈ
π SEE ALSO π
bkβcheck β go peek at that one too, bestie. π«Ά
β οΈ WARNINGS β οΈ
Do not depend on per file checksums being SCCS compatible β BitKeeper is likely to move to a CRC in a future release. π
π CATEGORY π
Admin. ποΈ
π«Ά thatβs the page, bestie β sign-off from BitKeeper Inc with footer bits 1E1 and bk checksum(none). The footer didnβt give a date, so no invented date, periodt. π
π¦ 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