mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
Use %topic=topic instead of deprecated /topic syntax on push
Bug: https://crbug.com/gerrit/9930 Change-Id: Iefa202d42ef6e6b8b2b1a3f9b8baa5f0d65cbd60
This commit is contained in:
parent
2d095da4f1
commit
f25a370a14
@ -1172,10 +1172,11 @@ class Project(object):
|
|||||||
|
|
||||||
ref_spec = '%s:refs/%s/%s' % (R_HEADS + branch.name, upload_type,
|
ref_spec = '%s:refs/%s/%s' % (R_HEADS + branch.name, upload_type,
|
||||||
dest_branch)
|
dest_branch)
|
||||||
|
opts = []
|
||||||
if auto_topic:
|
if auto_topic:
|
||||||
ref_spec = ref_spec + '/' + branch.name
|
opts += ['topic=' + branch.name]
|
||||||
|
|
||||||
opts = ['r=%s' % p for p in people[0]]
|
opts += ['r=%s' % p for p in people[0]]
|
||||||
opts += ['cc=%s' % p for p in people[1]]
|
opts += ['cc=%s' % p for p in people[1]]
|
||||||
if notify:
|
if notify:
|
||||||
opts += ['notify=' + notify]
|
opts += ['notify=' + notify]
|
||||||
|
Loading…
Reference in New Issue
Block a user