BK-KEYWORDS(1)
π NAME π
bk keywords β list of RCS and SCCS keywords.
Thatβs the whole NAME-section vibe, bestie. This is the page from the BitKeeper Userβs Manual, and the header shows bk keywords(none) up top. Itβs literally the keyword encyclopedia: SCCS keywords, RCS keywords, and the BitKeeper-only ones too. π
π¦ DESCRIPTION π¦
BitKeeper supports both the standard SCCS keywords and most of the RCS keywords. On top of that, there are several keywords that are unique to BitKeeper. Slay.
Heads up: all of the revision-oriented keywords (e.g.%I%) are useless in BitKeeper, since they may change as a result of a re-synchronization that causes a branch creation. Use the%K%keyword when you need an identifier that is unique to a specific revision-level of a file.%K%is useful when tracking customer bugs. For example, a technician might ask the end-user to run thewhatcommand on an executable to check the versions of the components that make up a program. The person doing troubleshooting can then use the%K%keyword to track down the specific source files that make up the executable. π₯
Another heads up: SCCS keyword expansion can cause problems inprintf-like strings. To deal with unwanted keyword expansion, BitKeeper can be given options to expand only the first keyword found. Seebk help admin.
π SCCS KEYWORDS π
Okay, hereβs the full SCCS keyword lineup β every keyword and every example value, no skipping, no cap. β¨
%A%β shorthand notation for an ID line with data forwhat(1). The expansion looks like:
%Z% %M% %I%%Z% @(#) GET 1.1@(#)
%B%β SID branch component. Example value:0.%D%β current date:yyyy/mm/dd. Example value:1991/04/13.%E%β date the newest applied delta was created. Example value:1991/04/13.%F%β SCCSs.filename. Example value:SCCS/s.GET.%G%β date the newest applied delta was created:mm/dd/yyyy. Example value:4/13/1991.%H%β current date:mm/dd/yyyy. Example value:4/13/1991.%I%β SID of the retrieved version:%R%.%L%.%B%.%S%. Example:1.1or1.1.0.0if fully specified as shown in the previous line.%K%β key for the delta (these do not change):
lm@va.bitkeeper.com|src/bkhelp.txt|19991116191217|50766
%L%β SID level component. Example value:1.%M%β module name: either the value of themflag in thes.file, or the name of thes.fileless the prefix.%P%β fully qualifieds.filename. Example value:/u/lm/SCCS/s.GET.%R%β SID Release component. Example value:1.%S%β SID Sequence component. Example value:0.%T%β current time:hh:mm:ss. Example value:12:41:29.%U%β time the newest applied delta was created:hh:mm:ss. Example value:12:41:29.%W%β shorthand notation for an ID line with data forwhat. The expansion looks like:
%Z%%M% %I% @(#)GET 1.1
%Y%β SCCS Compatible, not expanded in BitKeeper. So it just sits there, iconic but unexpanded. π«Ά%Z%β 4-character string recognized bywhat. Example value:@(#).%@%βuser@host.%#%βuser.
π RCS KEYWORDS π
The following is the subset of RCS keywords that BitKeeper supports. The RCS keywords are only expanded if the RCS flag is turned on. See bk help admin. πΈ
$Revision$β expands like$Revision: 1.2 $.$Id$β expands like$Id: s.rcs_expand.c 1.2 99/11/16 11:25:18β08:00 lm@r.com $.$Author$β expands like$Author: lm@r.com $.$Date$β expands like$Date: 99/11/16 11:25:18β08:00 $.$Header$β expands like$Header: SCCS/s.rcs_expand.c 1.2 99/11/16 11:25:18β08:00 lm@r.com $.$RCSfile$β expands like$RCSfile: s.rcs_expand.c $.$Source$β expands like$Source: /tmp/beta11/src/SCCS/s.rcs_expand.c $.
π₯ SEE ALSO π₯
bk-admin, bk-config-etc, bk-get
π CATEGORY π
Overview
Footer tea, periodt: source BitKeeper Inc, version 1E1 β and the footer doesnβt show a date, so Iβm not inventing one, bestie. Mystery date stays mysterious. π
β¨
π¦ 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