bk c2r(7.3ce)               BitKeeper User's Manual              bk c2r(7.3ce)

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 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  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 -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

CATEGORY
       Utility

BitKeeper Inc                         1E1                        bk c2r(7.3ce)