summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--project.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/project.py b/project.py
index 295fb10f0..22e4a5d65 100644
--- a/project.py
+++ b/project.py
@@ -946,6 +946,11 @@ class Project(object):
dest_branch)
if auto_topic:
ref_spec = ref_spec + '/' + branch.name
+ if not url.startswith('ssh://'):
+ rp = ['r=%s' % p for p in people[0]] + \
+ ['cc=%s' % p for p in people[1]]
+ if rp:
+ ref_spec = ref_spec + '%' + ','.join(rp)
cmd.append(ref_spec)
if GitCommand(self, cmd, bare = True).Wait() != 0: