mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* tool/redmine-backporter.rb (rel): check the exception and show right
message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
07acd05ffb
commit
34ef129bd2
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Oct 27 16:33:47 2016 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* tool/redmine-backporter.rb (rel): check the exception and show right
|
||||
message.
|
||||
|
||||
Thu Oct 27 14:57:33 2016 Kazuki Yamaguchi <k@rhe.jp>
|
||||
|
||||
* ext/socket/lib/socket.rb (UDPSocket#recvfrom_nonblock): [DOC] Remove
|
||||
|
|
|
@ -419,7 +419,11 @@ eom
|
|||
begin
|
||||
res.value
|
||||
rescue
|
||||
$stderr.puts "deployed redmine doesn't have https://github.com/ruby/bugs.ruby-lang.org/commit/01fbba60d68cb916ddbccc8a8710e68c5217171d\nask naruse or hsbt"
|
||||
if $!.respond_to?(:response) && $!.response.is_a?(Net::HTTPConflict)
|
||||
$stderr.puts "the revision has already related to the ticket"
|
||||
else
|
||||
$stderr.puts "deployed redmine doesn't have https://github.com/ruby/bugs.ruby-lang.org/commit/01fbba60d68cb916ddbccc8a8710e68c5217171d\nask naruse or hsbt"
|
||||
end
|
||||
next
|
||||
end
|
||||
puts res.body
|
||||
|
|
Loading…
Reference in a new issue