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 - 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.
Summary: build-scripts/showrev.sh prints the tip, which isn't useful if you're on a di...
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 2.1
Hardware: All All
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-29 05:02 UTC by winterknight
Modified: 2016-10-01 19:53 UTC (History)
0 users

See Also:


Attachments
showrev.sh - Use parents instead of tip (518 bytes, patch)
2016-02-29 05:02 UTC, winterknight
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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