• Igor Drozdov's avatar
    Make MergeService idempotent · 06b0d567
    Igor Drozdov authored
    * MergeService will now check if an MR was already merged
    * PostMergeService has been broken apart and some elements have been
    added into a transaction
    * PostMergeService will not run unless the source branch was set to be
    deleted and successfully was.
    * Specs have been added for the above and to prevent duplicate
    notifications
    06b0d567
merge_worker_spec.rb 1.45 KB