/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

  • Committer: Jelmer Vernooij
  • Date: 2020-03-25 20:16:28 UTC
  • mto: (7490.7.8 work)
  • mto: This revision was merged to the branch mainline in revision 7501.
  • Revision ID: jelmer@jelmer.uk-20200325201628-dc6t7uqo1r56d1e2
Various git fixes.

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