Add a .ini
option to disable merge requests for all git or all hg repos.
Also a per-tool project admin setting to disable it. This should go on the "Checkout URL" dialog since disabling one-click merge makes most sense if the checkout url is being overridden.
In branch
db/7865
Overall looks good.
Two minor notes:
1. merge_allowed and can_merge are somewhat ambiguous in name and could benefit from some doc strings to make clear up their functionality.
2. merge_allowed has a user parameter that is currently unused.
Updated on branch.
Looks good.