BK-C2R(1)

πŸ“¦ version 7.3.3, in alpine 3.24

πŸŽ€ 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
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms