Getting specific revisions of MySQL

Asked by Michael Mounteney

Hello, I am working on this http://research.sun.com/projects/parfait project and my task is to acquire samples of source code with identified bugs, to see if our static analysis tool can detect them. As part of this task, I would like to have access to specific versions of the mysql server code. Thus, I tried:

     bzr checkout -r 5.0.7 https://code.lauchpad.net/mysql-server mysql-server-5.0.7
     bzr checkout -r 4.1.12 https://code.lauchpad.net/mysql-server mysql-server-4.1.12
     bzr checkout -r 5.0.43 https://code.lauchpad.net/mysql-server mysql-server-5.0.43

etc. but whatever is given as the version number, the source (seen with diff -r) is always the same. No warning message is given about invalid version numbers or similar. So what's going on ? Two questions:

1. Why doesn't bizarre warn about an invalid version number ?
2. How DOES one check out specific versions ?

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
John A Meinel (jameinel) said :
#1

If Mysql has tagged revisions (which it looks like they have, you would use):

bzr co -r tag:mysql-5.0.7 lp:mysql-server mysql-server-5.0.7

same for tag:mysql-4.1.12.

I see tags for 5.0.42 and 5.0.44, but I don't see a tag for 5.0.43. In fact, I don't see *any* odd numbered tags in that range, the last I see is 5.0.25, everything >=26 only has even numbered tags.

I'm not sure what is happening when you supply "-r 5.0.7" my guess is the revision number is not present, which is causing the lookup function to return None, which causes the calling code to think you didn't supply a revision.

I'll try to look at it, because it certainly is odd behavior.

Can you help with this problem?

Provide an answer of your own, or ask Michael Mounteney for more information if necessary.

To post a message you must log in.