gitlab-org--gitlab-foss/app/services/merge_requests
Stan Hu 60529e0216 Properly abort a merge when merge conflicts occur
If somehow a user attempted to accept a merge request that had
conflicts (e.g. the "Accept Merge Request" button or the MR itself was
not updated), `MergeService` did not properly detect that a conflict
occurred. It would assume that the MR went through without any issues
and close the MR as though everything was fine. This could cause
data loss if the source branch were removed.

Closes #20425
2016-07-29 11:21:21 -07:00
..
add_todo_when_build_fails_service.rb Create a todo on failing MR build 2016-05-17 10:17:45 +01:00
base_service.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
build_service.rb Fix auto-MR-close text from branch name 2016-06-21 17:59:20 +01:00
close_service.rb Rename Tasks to Todos 2016-02-20 12:39:27 -02:00
create_service.rb Allows MR authors to have the source branch removed when merging the MR 2016-05-20 11:30:03 +02:00
merge_service.rb Properly abort a merge when merge conflicts occur 2016-07-29 11:21:21 -07:00
merge_when_build_succeeds_service.rb Rename MergeRequest methods that return commits or shas to be more clear and consistent 2016-07-06 18:50:58 -04:00
post_merge_service.rb Services: code style fixes, minor refactoring 2016-07-06 20:58:43 +03:00
refresh_service.rb Revert "Revert "Merge branch '18193-developers-can-merge' into 'master' "" 2016-07-18 10:16:56 +02:00
reopen_service.rb Automatically update diff note positions when MR is pushed to 2016-07-06 18:51:00 -04:00
update_service.rb Allows MR authors to have the source branch removed when merging the MR 2016-05-20 11:30:03 +02:00