summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-16 19:20:11 (GMT)
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-16 19:20:11 (GMT)
commit531514bac2ba4c6dbcb45710f4cbef5439b725ef (patch)
tree591fb7e197d4a4b044bfc5c85d9396cca9a04110 /tool
parenta17dfde3336228499a71d519edc703d9565c3ad6 (diff)
* tool/redmine-backporter.rb: revisions are strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-xtool/redmine-backporter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb
index 7323d37..0806e63 100755
--- a/tool/redmine-backporter.rb
+++ b/tool/redmine-backporter.rb
@@ -411,7 +411,7 @@ eom
puts "ticket not selected"
next
end
- rev = $1.to_i
+ rev = $1
uri = URI("#{REDMINE_BASE}/projects/ruby-trunk/repository/revisions/#{rev}/issues.json")
Net::HTTP.start(uri.host, uri.port, http_options) do |http|
res = http.post(uri.path, "issue_id=#@issue",