build-scripts/showrev.sh
author Ryan C. Gordon <icculus@icculus.org>
Fri, 25 Nov 2016 00:13:13 -0500
changeset 10651 f0065b8e6541
parent 10420 0d91817f35e9
permissions -rwxr-xr-x
macOS: removed deprecated UpdateSystemActivity() call.

The non-deprecated approach (IOPMAssertion) already exists in SDL, and is
available in Mac OS X 10.6 and later (although it was incorrectly listed as
10.7 and later in SDL). Since SDL now requires 10.6 or later, this is no
longer conditionally used.
     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)