| 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: | build | Assignee: | 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 | ||
Fixed, thanks! https://hg.libsdl.org/SDL/rev/0d91817f35e9 |
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.