Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

find_svn_log may return blank xml

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
commit 9db0dd7bb9562c2c21d651879bf5dc43e2cc5d2f 1 parent 14ad015
@nurse nurse authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  tool/redmine-backporter.rb
View
3  tool/redmine-backporter.rb
@@ -314,8 +314,7 @@ def backport_command_string
end
log = find_svn_log("##@issue]")
- if log
- rev = log[/revision="(\d+)/, 1]
+ if log && /revision="(?<rev>\d+)/ =~ log
str = log[/merge revision\(s\) ([^:]+)(?=:)/]
str.insert(5, "d")
str = "ruby_#{TARGET_VERSION.tr('.','_')} r#{rev} #{str}."
Please sign in to comment.
Something went wrong with that request. Please try again.