Skip to content

Commit 8677f1c

Browse files
cgumpertGauvain Pocentek
authored andcommitted
add 'delete source branch' option when creating MR (#241)
1 parent cc4fe78 commit 8677f1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1728,7 +1728,7 @@ class ProjectMergeRequest(GitlabObject):
17281728
requiredUrlAttrs = ['project_id']
17291729
requiredCreateAttrs = ['source_branch', 'target_branch', 'title']
17301730
optionalCreateAttrs = ['assignee_id', 'description', 'target_project_id',
1731-
'labels', 'milestone_id']
1731+
'labels', 'milestone_id', 'remove_source_branch']
17321732
optionalUpdateAttrs = ['target_branch', 'assignee_id', 'title',
17331733
'description', 'state_event', 'labels',
17341734
'milestone_id']

0 commit comments

Comments
 (0)