Bug #2960: svn revision detection of git-based repo on Windows is broken
http://redmine.ruby-lang.org/issues/show/2960

Author: Vladimir Sizikov
Status: Open, Priority: Normal
Category: build
ruby -v: ruby 1.9.2dev (2010-03-14) [i386-mingw32]

This leads to situation when MRI built on Windows from git-based repo doesn't show the actual SVN revision: ruby 1.9.2dev (2010-03-14) [i386-mingw32]

This is a regression caused by recent changes in file2lastrev.rb file.

Attached is a small patch that fixes the problem for me on Windows. And I checked that it works on Linux as well.


----------------------------------------
http://redmine.ruby-lang.org