build-scripts/showrev.sh
author Alex Szpakowski <slime73@gmail.com>
Mon, 14 Oct 2019 00:51:53 -0300
changeset 13116 065b94926987
parent 10420 0d91817f35e9
permissions -rwxr-xr-x
macOS: Fix the initial window background not being black since macOS 10.14.2 or so, when OpenGL is used (bug #4810). Also fixes "CGContext: invalid context 0x0" errors when an OpenGL window is created (bug #4470).
     1 #!/bin/sh
     2 #
     3 # Print the current source revision, if available
     4 
     5 hg parents --template 'hg-{rev}:{node|short}' || (echo "hg-0:baadf00d"; exit 1)