gitlabhq/gitlabhq — pull request #4682 by zzet (2013-07-31 16:32:06+00:00)
Title: Update logic for validates_merge_request for tree of MR

### For case:

Merge request №1: branch "feature" to "release" and remove "feature" branch

Merge request №2: branch "release" to "master" and remove "release" branch

Merge request №1 - broken :(