[MacRuby-devel] [MacRuby] #173: Need to expose the SVN revision number as a constant
MacRuby
ruby-noreply at macosforge.org
Wed Dec 3 14:34:20 PST 2008
#173: Need to expose the SVN revision number as a constant
-----------------------------------+----------------------------------------
Reporter: lsansonetti@… | Owner: lsansonetti@…
Type: defect | Status: closed
Priority: blocker | Milestone: MacRuby 0.4
Component: MacRuby | Resolution: fixed
Keywords: |
-----------------------------------+----------------------------------------
Changes (by lsansonetti@…):
* status: new => closed
* resolution: => fixed
* milestone: MacRuby 1.0 => MacRuby 0.4
Comment:
A patch was contributed by Vincent Isambart that implements this feature.
It works for both SVN and Git.
{{{
$ ./miniruby -e "p MACRUBY_REVISION"
"svn revision 745 from
http://svn.macosforge.org/repository/ruby/MacRuby/trunk"
}}}
It has been committed as r766.
--
Ticket URL: <http://www.macruby.org/trac/ticket/173#comment:2>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list