IMPALA-4310: Make push_to_asf.py respect --apache_remote Change-Id: I03e15753e685b1b8cf953e8009fb473c9c12aa93 Reviewed-on: http://gerrit.cloudera.org:8080/4747 Reviewed-by: Sailesh Mukil <sail...@cloudera.com> Tested-by: Henry Robinson <he...@cloudera.com>
Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/5a919648 Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/5a919648 Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/5a919648 Branch: refs/heads/master Commit: 5a91964893a7ed2cadf8287471e25f8833ee45b1 Parents: 0686cc4 Author: Henry Robinson <he...@cloudera.com> Authored: Mon Oct 17 23:06:16 2016 -0700 Committer: Henry Robinson <he...@cloudera.com> Committed: Tue Oct 18 06:34:22 2016 +0000 ---------------------------------------------------------------------- bin/push_to_asf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/5a919648/bin/push_to_asf.py ---------------------------------------------------------------------- diff --git a/bin/push_to_asf.py b/bin/push_to_asf.py index 5865fb8..a438fa4 100755 --- a/bin/push_to_asf.py +++ b/bin/push_to_asf.py @@ -248,7 +248,7 @@ def do_update(branch, gerrit_sha, apache_sha): return # Everything has been confirmed. Do the actual push - cmd = ['git', 'push', 'apache'] + cmd = ['git', 'push', OPTIONS.apache_remote] if OPTIONS.dry_run: cmd.append('--dry-run') cmd.append('%s:refs/heads/%s' % (push_sha, branch))