| Index: tests/git_cl_test.py
|
| diff --git a/tests/git_cl_test.py b/tests/git_cl_test.py
|
| index a78c7383c5dc992a6906de3cbae6d36d50dbd4ad..8b00ac7e15647f8ff5a5f9aabf9cde1699feb363 100755
|
| --- a/tests/git_cl_test.py
|
| +++ b/tests/git_cl_test.py
|
| @@ -809,13 +809,17 @@ class TestGitCl(TestCase):
|
| ((['git', 'config', 'rietveld.cc'],), '')
|
| ]
|
| # Add cc from watch list.
|
| - if ref_suffix == '':
|
| - ref_suffix = '%cc=joe@example.com'
|
| - else:
|
| - ref_suffix += ',cc=joe@example.com'
|
| + # TODO(tandrii): bring this back after http://crbug.com/604377.
|
| + # if ref_suffix == '':
|
| + # ref_suffix = '%cc=joe@example.com'
|
| + # else:
|
| + # ref_suffix += ',cc=joe@example.com'
|
| if reviewers:
|
| - ref_suffix += ',' + ','.join('r=%s' % email
|
| - for email in sorted(reviewers))
|
| + if ref_suffix:
|
| + ref_suffix += ','
|
| + else:
|
| + ref_suffix = '%'
|
| + ref_suffix += ','.join('r=%s' % email for email in sorted(reviewers))
|
| calls += [
|
| ((['git', 'push', 'origin',
|
| ref_to_push + ':refs/for/refs/heads/master' + ref_suffix],),
|
|
|