Skip to content

Commit

Permalink
add 'delete source branch' option when creating MR (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgumpert authored and Gauvain Pocentek committed Mar 20, 2017
1 parent cc4fe78 commit 8677f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitlab/objects.py
Expand Up @@ -1728,7 +1728,7 @@ class ProjectMergeRequest(GitlabObject):
requiredUrlAttrs = ['project_id']
requiredCreateAttrs = ['source_branch', 'target_branch', 'title']
optionalCreateAttrs = ['assignee_id', 'description', 'target_project_id',
'labels', 'milestone_id']
'labels', 'milestone_id', 'remove_source_branch']
optionalUpdateAttrs = ['target_branch', 'assignee_id', 'title',
'description', 'state_event', 'labels',
'milestone_id']
Expand Down

0 comments on commit 8677f1c

Please sign in to comment.