We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3276

Summary: build-scripts/showrev.sh prints the tip, which isn't useful if you're on a different -# branch, or just not sync'd to the tip.
Product: SDL Reporter: winterknight
Component: buildAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.1   
Hardware: All   
OS: All   
Attachments: showrev.sh - Use parents instead of tip

Description winterknight 2016-02-29 05:02:37 UTC
Created attachment 2387 [details]
showrev.sh - Use parents instead of tip

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.
Comment 1 Sam Lantinga 2016-10-01 19:53:19 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/0d91817f35e9