diff options
Diffstat (limited to 'project.py')
-rw-r--r-- | project.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -205,6 +205,7 @@ class ReviewableBranch(object): | |||
205 | private=False, | 205 | private=False, |
206 | notify=None, | 206 | notify=None, |
207 | wip=False, | 207 | wip=False, |
208 | ready=False, | ||
208 | dest_branch=None, | 209 | dest_branch=None, |
209 | validate_certs=True, | 210 | validate_certs=True, |
210 | push_options=None): | 211 | push_options=None): |
@@ -217,6 +218,7 @@ class ReviewableBranch(object): | |||
217 | private=private, | 218 | private=private, |
218 | notify=notify, | 219 | notify=notify, |
219 | wip=wip, | 220 | wip=wip, |
221 | ready=ready, | ||
220 | dest_branch=dest_branch, | 222 | dest_branch=dest_branch, |
221 | validate_certs=validate_certs, | 223 | validate_certs=validate_certs, |
222 | push_options=push_options) | 224 | push_options=push_options) |
@@ -1003,6 +1005,7 @@ class Project(object): | |||
1003 | private=False, | 1005 | private=False, |
1004 | notify=None, | 1006 | notify=None, |
1005 | wip=False, | 1007 | wip=False, |
1008 | ready=False, | ||
1006 | dest_branch=None, | 1009 | dest_branch=None, |
1007 | validate_certs=True, | 1010 | validate_certs=True, |
1008 | push_options=None): | 1011 | push_options=None): |
@@ -1072,6 +1075,8 @@ class Project(object): | |||
1072 | opts += ['private'] | 1075 | opts += ['private'] |
1073 | if wip: | 1076 | if wip: |
1074 | opts += ['wip'] | 1077 | opts += ['wip'] |
1078 | if ready: | ||
1079 | opts += ['ready'] | ||
1075 | if opts: | 1080 | if opts: |
1076 | ref_spec = ref_spec + '%' + ','.join(opts) | 1081 | ref_spec = ref_spec + '%' + ','.join(opts) |
1077 | cmd.append(ref_spec) | 1082 | cmd.append(ref_spec) |