build-scripts/showrev.sh
author Ryan C. Gordon
Sun, 31 May 2015 11:38:10 -0400
changeset 9688 596a3da0c9cb
parent 4935 a727eda441be
child 10420 0d91817f35e9
permissions -rwxr-xr-x
Fixed swizzle of SDL_FillRect() on 24-bit surface (thanks, "nagydavid91"!).

Fixes Bugzilla #2986.
     1 #!/bin/sh
     2 #
     3 # Print the current source revision, if available
     4 
     5 # FIXME: this prints the tip, which isn't useful if you're on a different
     6 #  branch, or just not sync'd to the tip.
     7 hg tip --template 'hg-{rev}:{node|short}' || (echo "hg-0:baadf00d"; exit 1)