fix(mr): Look for all MRs with `mr` commands
Created by: zemzale
Description
This fixes issues with mr reopen <branch>
When looking for MR from arguments, we where looking only for open merge requests.
In reality it didn't allow any commands to run on closed MRs using branch names.
The only thing that is needed to consider that some commands can't run on closed MRs like rebase or merge. There were checks for that in some places, but not other.
Related Issue
Resolves #620 (closed)
How Has This Been Tested?
Went through all mr
commands. The only thing that failed with a closed branch was rebase, which I fixed.
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change) -
Documentation -
Chore (Related to CI or Packaging to platforms)