Commit 0b7d70a3 authored by Rubén Dávila's avatar Rubén Dávila Committed by Robert Speicher

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

parent e1a3c8cd
...@@ -535,6 +535,6 @@ class MergeRequest < ActiveRecord::Base ...@@ -535,6 +535,6 @@ class MergeRequest < ActiveRecord::Base
end end
def revert_branch_name def revert_branch_name
"revert-#{id}-#{target_branch}" "revert-#{iid}-#{target_branch}"
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment