ruby-changes:15450
From: naruse <ko1@a...>
Date: Thu, 15 Apr 2010 21:19:05 +0900 (JST)
Subject: [ruby-changes:15450] Ruby:r27348 (trunk): * tool/file2lastrev.rb: this should run with ruby 1.8.
naruse 2010-04-15 21:14:45 +0900 (Thu, 15 Apr 2010) New Revision: 27348 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=27348 Log: * tool/file2lastrev.rb: this should run with ruby 1.8. Modified files: trunk/ChangeLog trunk/tool/file2lastrev.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 27347) +++ ChangeLog (revision 27348) @@ -1,3 +1,7 @@ +Thu Apr 15 21:13:29 2010 NARUSE, Yui <naruse@r...> + + * tool/file2lastrev.rb: this should run with ruby 1.8. + Thu Apr 15 20:41:10 2010 Tanaka Akira <akr@f...> * tool/file2lastrev.rb: make -q effective for files not version Index: tool/file2lastrev.rb =================================================================== --- tool/file2lastrev.rb (revision 27347) +++ tool/file2lastrev.rb (revision 27348) @@ -60,7 +60,7 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/