Unknown found as revision level

• Jan 30, 2013 - 15:19

I just did a pull of revision a92b31d from git hub. After compilation I now see that the product revision is "unknown"., same as in mscore/revision.h. Previously it has always been the rev level from the download.

Was this meant to happen or is it just me?


Comments

This is a very recent change in rev c1b860b1. You can still do a "makefile revision" to update the file manually. However, this change was done to supposedly do this step manually when doing a git checkout. I build mine custom with my own large CMD script which updates the revision.h file with the proper build number before compilation. The command is "git rev-parse --short HEAD >mscore/revision.h".

Also have a look in build/git/hooks. Part of the same update was a new git hook you can install as a post-checkout hook, that will automatically update the revision.h when you do a checkout, and also prevent it from being flagged as a difference.

A full explanation is in the README in that directory.

Do you still have an unanswered question? Please log in first to post your question.