summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-07-07 02:14:57 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-07-07 02:14:57 +0000
commitb88e0ceb854bd10eb323971eb7a4e2a970c60c48 (patch)
treea8d0e138aa6442b21d05a7e07d9329c7ffe19e16 /tool
parent8ddf0263bb0a8536e40eb088d8620f13f28c4c52 (diff)
* tool/redmine-backporter.rb (show): just report and ignore if a feature ticket
is specified instead of aborting. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-xtool/redmine-backporter.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb
index b3ed96d3d2..38ebf55fed 100755
--- a/tool/redmine-backporter.rb
+++ b/tool/redmine-backporter.rb
@@ -368,6 +368,11 @@ commands = {
unless i["changesets"]
abort "You don't have view_changesets permission"
end
+ unless i["custom_fields"]
+ puts "The specified ticket \##{@issue} seems to be a feature ticket"
+ @issue = nil
+ next
+ end
id = "##{i["id"]}".color(*PRIORITIES[i["priority"]["name"]])
sio = StringIO.new
sio.puts <<eom