/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/plugins/propose/gitlabs.py

Fix various Git issues: allow_collaboration for GitLab, gopkg.in access, error reporting.

Merged from https://code.launchpad.net/~jelmer/brz/git-fixes/+merge/381193

Show diffs side-by-side

added added

removed removed

Lines of Context:
395
395
    def _create_mergerequest(
396
396
            self, title, source_project_id, target_project_id,
397
397
            source_branch_name, target_branch_name, description,
398
 
            labels=None):
 
398
            labels=None, allow_collaboration=False):
399
399
        path = 'projects/%s/merge_requests' % source_project_id
400
400
        fields = {
401
401
            'title': title,
403
403
            'target_branch': target_branch_name,
404
404
            'target_project_id': target_project_id,
405
405
            'description': description,
 
406
            'allow_collaboration': allow_collaboration,
406
407
            }
407
408
        if labels:
408
409
            fields['labels'] = labels