mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
8ddf0263bb
commit
b88e0ceb85
1 changed files with 5 additions and 0 deletions
|
@ -368,6 +368,11 @@ commands = {
|
||||||
unless i["changesets"]
|
unless i["changesets"]
|
||||||
abort "You don't have view_changesets permission"
|
abort "You don't have view_changesets permission"
|
||||||
end
|
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"]])
|
id = "##{i["id"]}".color(*PRIORITIES[i["priority"]["name"]])
|
||||||
sio = StringIO.new
|
sio = StringIO.new
|
||||||
sio.puts <<eom
|
sio.puts <<eom
|
||||||
|
|
Loading…
Reference in a new issue