Merge "Allow to customize values in .gitreview file"
diff --git a/jeepyb/cmd/manage_projects.py b/jeepyb/cmd/manage_projects.py
index 36c3b89..ba30a05 100644
--- a/jeepyb/cmd/manage_projects.py
+++ b/jeepyb/cmd/manage_projects.py
@@ -467,7 +467,11 @@
                                              '/var/lib/jeepyb')
     ACL_DIR = registry.get_defaults('acl-dir')
     GERRIT_HOST = registry.get_defaults('gerrit-host')
+    GITREVIEW_GERRIT_HOST = registry.get_defaults(
+        'gitreview-gerrit-host', GERRIT_HOST)
     GERRIT_PORT = int(registry.get_defaults('gerrit-port', '29418'))
+    GITREVIEW_GERRIT_PORT = int(registry.get_defaults(
+        'gitreview-gerrit-port', GERRIT_PORT))
     GERRIT_USER = registry.get_defaults('gerrit-user')
     GERRIT_KEY = registry.get_defaults('gerrit-key')
     GERRIT_GITID = registry.get_defaults('gerrit-committer')
@@ -556,8 +560,8 @@
                     # Make Local repo
                     push_string = u.make_local_copy(
                         repo_path, project, project_list,
-                        git_opts, ssh_env, upstream, GERRIT_HOST,
-                        GERRIT_PORT, project_git, GERRIT_GITID)
+                        git_opts, ssh_env, upstream, GITREVIEW_GERRIT_HOST,
+                        GITREVIEW_GERRIT_PORT, project_git, GERRIT_GITID)
 
                     description = (
                         find_description_override(repo_path)