tool/redmine-backporter.rb: fix typo
This commit is contained in:
parent
88f4ebac83
commit
de15a26e9e
@ -241,7 +241,7 @@ def find_svn_log(pattern)
|
|||||||
end
|
end
|
||||||
|
|
||||||
def find_git_log(pattern)
|
def find_git_log(pattern)
|
||||||
`git #{RUBY_REPO_PATH ? "-C #{RUBY_REPO_PATH.shellecape}" : ""} log --grep="#{pattern}"`
|
`git #{RUBY_REPO_PATH ? "-C #{RUBY_REPO_PATH.shellescape}" : ""} log --grep="#{pattern}"`
|
||||||
end
|
end
|
||||||
|
|
||||||
def show_last_journal(http, uri)
|
def show_last_journal(http, uri)
|
||||||
@ -447,8 +447,12 @@ eom
|
|||||||
end
|
end
|
||||||
if log && rev
|
if log && rev
|
||||||
str = log[/merge revision\(s\) ([^:]+)(?=:)/]
|
str = log[/merge revision\(s\) ([^:]+)(?=:)/]
|
||||||
|
if str
|
||||||
str.insert(5, "d")
|
str.insert(5, "d")
|
||||||
str = "ruby_#{TARGET_VERSION.tr('.','_')} #{rev} #{str}."
|
str = "ruby_#{TARGET_VERSION.tr('.','_')} #{rev} #{str}."
|
||||||
|
else
|
||||||
|
str = "ruby_#{TARGET_VERSION.tr('.','_')} #{rev}."
|
||||||
|
end
|
||||||
if notes
|
if notes
|
||||||
str << "\n"
|
str << "\n"
|
||||||
str << notes
|
str << notes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user