Fix should_remove_source_branch#186
Conversation
|
@petebrowne Thank you for your patch! The problem I see here is that this code will fail for users dealing with older gitlab installations. That type of change shouldn't append on the gitlab side but we'll have to deal with it. I don't have a solution to offer. Maybe check the version before deciding what to do with this attribute? |
|
How do we check the Gitlab version? Is that an API call we need to make? Or is that configuration for the end user of this client? Taking a step back - why was this set to |
|
I honestly don't remember if I had to use this value or if any value would have worked. I'll test on an older gitlab version to make sure switching to |
|
Current code doesn't seem correct. Let's merge, thank you! |
|
Thanks! |
I'm getting the following 400 error when using
merge:It seems like Gitlab has changed their validations - using
Trueseems to work.