diff options
author | Christian <cgumpert@users.noreply.github.com> | 2017-03-20 13:15:11 +0100 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2017-03-20 13:15:11 +0100 |
commit | 8677f1c0250e9ab6b1e16da17d593101128cf057 (patch) | |
tree | c3fda9c841610800fecd3ffdf1bdd73b1a2fecff /gitlab/objects.py | |
parent | cc4fe787a584501a1aa4218be4796ce88048cc1f (diff) | |
download | gitlab-8677f1c0250e9ab6b1e16da17d593101128cf057.tar.gz |
add 'delete source branch' option when creating MR (#241)
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r-- | gitlab/objects.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py index 99cf923..7c961b3 100644 --- a/gitlab/objects.py +++ b/gitlab/objects.py @@ -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'] |