mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
tool/redmine-backporter.rb: Add parens to fix condition for svn revision search.
This commit is contained in:
parent
5d79054906
commit
ee7999bb84
1 changed files with 1 additions and 1 deletions
|
@ -437,7 +437,7 @@ eom
|
|||
end
|
||||
|
||||
if system("svn info #{RUBY_REPO_PATH&.shellescape}", %i(out err) => IO::NULL) # SVN
|
||||
if log = find_svn_log("##@issue]") && /revision="(?<rev>\d+)/ =~ log
|
||||
if (log = find_svn_log("##@issue]")) && (/revision="(?<rev>\d+)/ =~ log)
|
||||
rev = "r#{rev}"
|
||||
end
|
||||
else # Git
|
||||
|
|
Loading…
Reference in a new issue