Unknown found as revision level
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
Full discussion is here: http://dev-list.musescore.org/Compile-fails-at-revision-h-creation-td75…
It has never been the revision of the checkout. If you want it to be, you need to run
make revision
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".
In reply to This is a very recent change by schepers
Thank you schepers! I used the command : "git rev-parse --short HEAD >mscore/revision.h", redid the make and all is now well.
I have added your command to my list of commands to make MuseScore.
Once again, from a grateful Turtle, thanks.
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.