summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'project.py')
-rwxr-xr-xproject.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/project.py b/project.py
index 83d2f6af..de35a602 100755
--- a/project.py
+++ b/project.py
@@ -1172,10 +1172,11 @@ class Project(object):
1172 1172
1173 ref_spec = '%s:refs/%s/%s' % (R_HEADS + branch.name, upload_type, 1173 ref_spec = '%s:refs/%s/%s' % (R_HEADS + branch.name, upload_type,
1174 dest_branch) 1174 dest_branch)
1175 opts = []
1175 if auto_topic: 1176 if auto_topic:
1176 ref_spec = ref_spec + '/' + branch.name 1177 opts += ['topic=' + branch.name]
1177 1178
1178 opts = ['r=%s' % p for p in people[0]] 1179 opts += ['r=%s' % p for p in people[0]]
1179 opts += ['cc=%s' % p for p in people[1]] 1180 opts += ['cc=%s' % p for p in people[1]]
1180 if notify: 1181 if notify:
1181 opts += ['notify=' + notify] 1182 opts += ['notify=' + notify]