diff options
author | Stan Hu <stanhu@gmail.com> | 2018-07-21 08:31:17 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-07-21 08:31:17 +0300 |
commit | f94b52256d1bedfe6b01ef31f0bed0615b10d918 (patch) | |
tree | e1f88538f0ea9505ac916a3ed7e9542f6b388de1 | |
parent | 3fd704b239cbf008f48ca3ca2e6119ca993794b7 (diff) |
Remove merge request deletion code
-rw-r--r-- | lib/gitlab/bitbucket_server_import/importer.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/gitlab/bitbucket_server_import/importer.rb b/lib/gitlab/bitbucket_server_import/importer.rb index aa164f1a61a..f5febd266cb 100644 --- a/lib/gitlab/bitbucket_server_import/importer.rb +++ b/lib/gitlab/bitbucket_server_import/importer.rb @@ -182,8 +182,6 @@ module Gitlab target_branch_sha = project.repository.commit(target_branch_sha)&.sha || target_branch_sha author_id = gitlab_user_id(pull_request.author_email) - project.merge_requests.find_by(iid: pull_request.iid)&.destroy - attributes = { iid: pull_request.iid, title: pull_request.title, |