BK-DESCRIBE(1)
BitKeeper Userβs Manual bestie alert π¨ β bk describe is the little icon that builds a release name from a tag, and honestly? It ate. π
π NAME π
bk describe β generate a tag-based release name β¨
π SYNOPSIS π
bk describe [--brief] [--dirty]
πΈ DESCRIPTION πΈ
okay so this command generates a name based on the most recent tag. If the most recent tag is older than the tip, then the name is appended with +%d@0x%x where %d is replaced with the number of changesets implied by the tip that are not implied by the tagged changeset, and %x is replaced with the time_t of the latest commit in hexadecimal. very precise, very demure. π
Note that the changeset[s] that have the same time_t as the 0xDDDDDDDD can be listed with
bk changes -c<time_t>
where <time_t> is the 0xDDDDDDDD part of the name. In most cases there will be only one match; if there are more than one, you can usually figure it out by the distance from the tag. iykyk π«Ά
--briefβ skip the timestamp. This makes the name far less unique but more human readable. cute, lowkey chaotic, but readable π--dirtyβ if the tree has modified, extra, and/or pending files, then the name is appended with-dirty. yes bestie, your working tree has lore π
π₯ EXAMPLES π₯
# No tags, 3 csets total, last cset at 0x564f5316, clean
$ bk describe
1.0+3@0x564f5316
# No tags, 3 csets total, last cset at 0x564f5316, with changes
1.0+3@0x564f5316-dirty
# newest tag is v1.0, tag is on tip cset, clean repo
v1.0
# newest tag is v1.0, tag is on tip cset, dirty repo, with --dirty
v1.0-dirty
# newest tag is v1.0, tag is 1 cset older than tip cset, clean repo
v1.0+1@0x564f5316
# newest tag is v1.0, tag is 1 cset older than tip cset, dirty repo
v1.0+1@0x564f5316-dirty
# same except tag is 5 csets older than tip, brief format
v1.0+5-dirty
π SEE ALSO π
bk-changes
π§ SOURCE π§
This is an L script in βbk binβ/lscripts/describe.l.
π CATEGORY π
Utility
byeee bestie, source/version/date sign-off: BitKeeper Inc, 1E1, bk describe(none) πβ¨π«Ά
π¦ 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