mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2024-12-28 05:38:15 +00:00
6a9ee8fa4b
winterknight The showrev.sh script shows the tip, instead of the current hg revision. This can be mismatched if one were to use hg update -r ??? to revert to a previous revision. Patch uses parents instead of tip, which will show the revision that the source is compiled with, instead of the latest revision that the user who is compiling has downloaded.
6 lines
143 B
Bash
Executable File
6 lines
143 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Print the current source revision, if available
|
|
|
|
hg parents --template 'hg-{rev}:{node|short}' || (echo "hg-0:baadf00d"; exit 1)
|