From 83724a77dd85d7b5428742e40c1fa74804765610 Mon Sep 17 00:00:00 2001 From: naruse Date: Thu, 15 Apr 2010 12:14:45 +0000 Subject: * tool/file2lastrev.rb: this should run with ruby 1.8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ tool/file2lastrev.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 06cf19059c..681bf2165a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Apr 15 21:13:29 2010 NARUSE, Yui + + * tool/file2lastrev.rb: this should run with ruby 1.8. + Thu Apr 15 20:41:10 2010 Tanaka Akira * tool/file2lastrev.rb: make -q effective for files not version diff --git a/tool/file2lastrev.rb b/tool/file2lastrev.rb index 45b2f037ca..27fa31c3af 100755 --- a/tool/file2lastrev.rb +++ b/tool/file2lastrev.rb @@ -60,7 +60,7 @@ class VCS register(".svn") def self.get_revisions(path) - info_xml = IO.popen(["svn", "info", "--xml", path.to_s, :err=>[:child, :out]]) {|f| f.read } + info_xml = IO.popen(["svn", "info", "--xml", path.to_s, {:err=>[:child, :out]}]) {|f| f.read } _, last, _, changed, _ = info_xml.split(/revision="(\d+)"/) [last, changed] end -- cgit v1.2.3