bitkeeper changesets

Tom Rini trini at kernel.crashing.org
Thu Sep 5 09:43:06 EST 2002


On Wed, Sep 04, 2002 at 10:26:46AM -0700, Brian Kuschak wrote:

>
> --- Tom Rini <trini at kernel.crashing.org> wrote:
> > Revision numbers are not constant.  BK keys are.
> > 'bk help key2rev'.
> >
>
> So I assume this is the correct way of getting a
> unique, unchanging revision key corresponding to a
> particular ChangeSet:
>
>    bk changes -r1.1091.1.23 -nd:KEY:
>    or
>    bk prs -r1.1091.1.23 -nd:KEY:
>
>    ======== ChangeSet 1.1091.1.23 ========
>    paulus at samba.org|ChangeSet|20020803062658|55132
>
> This changeset removes the -rc5 from EXTRAVERSION in
> the top-level Makefile.  But I can't I convert this
> key back to the revision number:
>
> echo "paulus at samba.org|ChangeSet|20020803062658|55132"
> |bk key2rev Makefile
>
> Can't find
> paulus at samba.org|ChangeSet|20020803062658|55132 in
> SCCS/s.Makefile

You want to do:
echo "paulus at samba.org|ChangeSet|20020803062658|55132" | bk key2rev ChangeSet

It confused me the first time too. :)

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list