History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: JRUBY-897
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Unassigned
Reporter: MenTaLguY
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
JRuby

keyword substitution for jruby.revision property excludes non-SVN trees

Created: 28/Apr/07 06:31 AM   Updated: 06/May/07 09:49 PM
Component/s: Interpreter
Affects Version/s: None
Fix Version/s: JRuby 1.0.0RC1

Time Tracking:
Not Specified

File Attachments: 1. File unknown-revision.diff (0.7 kb)



 Description  « Hide
The code to report the SVN revision added in r3484 prevents JRuby from starting if it was not checked out from SVN, as keyword substitution for $Revision$ is not done in that case.

This is rather unfortunate for those of us who are using e.g. git to track JRuby development.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
MenTaLguY - 28/Apr/07 06:39 AM
Here's a patch which works around the issue by reporting "unknown" when the $Revision$ expansion has not been done.

Nick Sieger - 28/Apr/07 10:32 PM
Thanks for pointing this out Mental, sorry for the inconvenience.

Charles Oliver Nutter - 06/May/07 09:49 PM
Closing for 1.0RC1