提交 0b7d70a3 编写于 作者: R Rubén Dávila 提交者: Robert Speicher

Use #iid for revert branch name so it's consistent when the MR id in the URL.

上级 e1a3c8cd
......@@ -535,6 +535,6 @@ class MergeRequest < ActiveRecord::Base
end
def revert_branch_name
"revert-#{id}-#{target_branch}"
"revert-#{iid}-#{target_branch}"
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册