Skip to contentSkip to conversation

bitkeeper changesets

DISCUSSION Brian Kuschak 3 participants 7 messages Sep 3, 2002 – Sep 4, 2002

lore
Share & tools
lore
#0 lore raw

Has something wierd happened to bk://ppc.bkbits.net/linuxppc_2_4_devel recently?

I'm using the BK changeset versions for tracking when I export specific BK trees into my local source-control system. The last one I imported was 2.4.19-final (changeset 1.1114 on 08-02-2002). Today I did a 'bk pull', and noticed that that changeset revision no longer exists in BK! And it seems the one I exported previously is now named 1.1091.1.23.

Also, it seems like older versions (earlier than 29-May-2002) are no longer available in BK.

Am I missing something here, or did the version numbers really change? And why? Should I be using a different BK server?

Thanks,
Brian

Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

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

#1 lore raw
Quoted 9 lines

I'm using the BK changeset versions for tracking when I export specific BK trees into my local source-control system. The last one I imported was 2.4.19-final (changeset 1.1114 on 08-02-2002). Today I did a 'bk pull', and noticed that that changeset revision no longer exists in BK! And it seems the one I exported previously is now named 1.1091.1.23.

Quoted 6 lines

Also, it seems like older versions (earlier than 29-May-2002) are no longer available in BK.

Am I missing something here, or did the version numbers really change? And why? Should I be using a different BK server?

I see the same thing. It looks like the tag changed to just v2.4.19. The BK revisions totally changed!

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

#2 lore raw
Quoted 12 lines · Allen Curtis
Quoted 12 lines

I'm using the BK changeset versions for tracking when I export specific BK trees into my local source-control system. The last one I imported was 2.4.19-final (changeset 1.1114 on 08-02-2002). Today I did a 'bk pull', and noticed that that changeset revision no longer exists in BK! And it seems the one I exported previously is now named 1.1091.1.23.

Also, it seems like older versions (earlier than 29-May-2002) are no longer available in BK.

Quoted 6 lines
Quoted 3 lines

Am I missing something here, or did the version numbers really change? And why? Should I be using a different BK server?

I see the same thing. It looks like the tag changed to just v2.4.19. The BK revisions totally changed!

Revision numbers are not constant. BK keys are. 'bk help key2rev'.

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

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

#3 lore raw
Quoted 3 lines

Revision numbers are not constant. BK keys are. 'bk help key2rev'.

What about the changed TAG name?

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

#4 lore raw
Quoted 5 lines · Allen Curtis
Quoted 3 lines

Revision numbers are not constant. BK keys are. 'bk help key2rev'.

What about the changed TAG name?

TAG names don't change. If you can verify that it did indeed change somehow, it's a bug and you should talk to Larry / BitMover support.

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

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

#5 lore raw
In reply to Tom Rini
Quoted 3 lines · --- Tom Rini

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

   [email protected]|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 "[email protected]|ChangeSet|20020803062658|55132" |bk key2rev Makefile

Can't find [email protected]|ChangeSet|20020803062658|55132 in SCCS/s.Makefile

Thanks,
Brian

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

#6 lore raw
Quoted 21 lines · Brian Kuschak
Quoted 3 lines · --- Tom Rini

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 ========
   [email protected]|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:

Quoted 6 lines

echo "[email protected]|ChangeSet|20020803062658|55132" |bk key2rev Makefile

Can't find [email protected]|ChangeSet|20020803062658|55132 in SCCS/s.Makefile

You want to do:
echo "[email protected]|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/