build-scripts/showrev.sh
author Ryan C. Gordon <icculus@icculus.org>
Sun, 21 Oct 2018 22:40:17 -0400
changeset 12345 50e1cca28b39
parent 10420 0d91817f35e9
permissions -rwxr-xr-x
wasapi/win32: Sort initial device lists by device GUID.

This makes an unchanged set of hardware always report devices in the same
order on each run.
slouken@2982
     1
#!/bin/sh
slouken@2982
     2
#
slouken@2982
     3
# Print the current source revision, if available
slouken@2982
     4
slouken@10420
     5
hg parents --template 'hg-{rev}:{node|short}' || (echo "hg-0:baadf00d"; exit 1)