Skip to content

Commit

Permalink
* tool/file2lastrev.rb: this should run with ruby 1.8.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nurse committed Apr 15, 2010
1 parent d9aab57 commit 83724a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
@@ -1,3 +1,7 @@
Thu Apr 15 21:13:29 2010 NARUSE, Yui <naruse@ruby-lang.org>

* tool/file2lastrev.rb: this should run with ruby 1.8.

Thu Apr 15 20:41:10 2010 Tanaka Akira <akr@fsij.org>

* tool/file2lastrev.rb: make -q effective for files not version
Expand Down
2 changes: 1 addition & 1 deletion tool/file2lastrev.rb
Expand Up @@ -60,7 +60,7 @@ class SVN < self
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
Expand Down

0 comments on commit 83724a7

Please sign in to comment.