tool/redmine-backporter.rb: Add parens to fix condition for svn revision search.
This commit is contained in:
parent
5d79054906
commit
ee7999bb84
@ -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…
x
Reference in New Issue
Block a user