svn revision detection of git-based repo on Windows is broken
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.