Manpage logo

bk-c2r - (unknown subject)


NAME
bk c2r − convert changeset revision to file revision

SYNOPSIS
bk c2r −r
cset_rev file

DESCRIPTION
This command takes a changeset revision and a filename and prints the latest revision in the file that is part of that changeset.

EXAMPLE
Suppose that revision 1.5 of foo.c was made in changeset 1.1234.

$ 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 [email protected] +4 -3
Include system.h.

This command is the inverse of bk r2c, which goes from a file to a changeset revision. This goes the other way, from changeset to file revision. This command is here for completeness only, you can get the same effect in a single step like so:

$ bk log [email protected] foo.c
foo.c 1.5
2009-07-07 11:20:27-07:00 [email protected] +4 -3
Include system.h.

SEE ALSO
bk-r2c

CATEGORY
Utility


Updated 2026-06-01 - jenkler.se | uex.se