BK-C2R(1)
π NAME π
bk c2r β convert changeset revision to file revision. This is the bk c2r(none) page from the BitKeeper Userβs Manual, bestie, and itβs lowkey a tiny converter gremlin in the best way π
.
β¨ SYNOPSIS β¨
bk c2r βrcset_rev file
π DESCRIPTION π
Okay so this command takes a changeset revision and a filename, then prints the latest revision in the file that is part of that changeset. Thatβs it. Thatβs the whole vibe β¨.
πΈ EXAMPLE πΈ
Suppose that revision 1.5 of foo.c was made in changeset 1.1234. Slay, hereβs what that looks like:
$ bk c2r βr1.1234 foo.c
1.5
$ bk log βr1.5 foo.c
foo.c 1.5
2009β07β07 11:20:27β07:00 wscoot@desk.bitkeeper.com +4 β3
Include system.h.
This command is the inverse of bk r2c, which goes from a file to a changeset revision. This one goes the other way: from changeset to file revision. Itβs here for completeness only, fr fr β you can get the same effect in a single step like so:
$ bk log βr@1.1234 foo.c
foo.c 1.5
2009β07β07 11:20:27β07:00 wscoot@desk.bitkeeper.com +4 β3
Include system.h.
π¦ SEE ALSO π¦
bkβr2cβ the linked bestie from SEE ALSO, no cap.
π CATEGORY π
- Utility β thatβs the category, periodt.
Source/version sign-off: BitKeeper Inc, version 1E1, footer slot bk c2r(none), and thereβs no separate date listed. Bye bestie, go convert those revisions πβ¨
π¦ 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