summaryrefslogtreecommitdiffstats
path: root/init-repository.py
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@digia.com>2013-08-26 10:56:03 +0200
committerAndras Becsi <andras.becsi@digia.com>2013-08-28 11:00:38 +0200
commit40680de23eb9a9bfde0bed35fbfdf2d56ff1aaa5 (patch)
treec553c86a3fd9c3a3faf2673f3fcd54ed446ca648 /init-repository.py
parenta07907f41e14b219e972042bc429cdd764d68e75 (diff)
Use the correct port when downloading the git hooks from gerrit
This fixes the ssh error where scp tried to connect to the default port 22 which timed out. Change-Id: I7914fafbc3f82eb2c68d52dffb6579d98bcfedd1 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Diffstat (limited to 'init-repository.py')
-rwxr-xr-xinit-repository.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/init-repository.py b/init-repository.py
index 795a2f4b0..8be4c980f 100755
--- a/init-repository.py
+++ b/init-repository.py
@@ -106,7 +106,7 @@ def addGerritRemote():
def installGitHooks():
os.chdir(qtwebengine_src)
- subprocess.call(['scp', '-p', 'codereview.qt-project.org:hooks/commit-msg', '.git/hooks'])
+ subprocess.call(['scp', '-p', '-P', '29418', 'codereview.qt-project.org:hooks/commit-msg', '.git/hooks'])
def applyPatches():
if use_external_chromium: