commit | 6b1c39df5dbb0c5ac41c0a37f9e6b16a23c95e68 | [log] [tgz] |
---|---|---|
author | Zuul <zuul@review.opendev.org> | Thu Apr 22 23:41:08 2021 +0000 |
committer | Gerrit Code Review <review@openstack.org> | Thu Apr 22 23:41:08 2021 +0000 |
tree | 9cc3589d287fd597aa19dcc147535408614b3759 | |
parent | cc25f50c72f9f88a1a0e6411c238c1b9d55c6631 [diff] | |
parent | b7292d1a593fa3cb4fd87a60548742747d078500 [diff] |
Merge "Set default branch in .gitreview files when creating project"
diff --git a/jeepyb/utils.py b/jeepyb/utils.py index 31510cf..bc5cbfb 100644 --- a/jeepyb/utils.py +++ b/jeepyb/utils.py
@@ -162,7 +162,8 @@ host=%s port=%s project=%s -""" % (GERRIT_HOST, GERRIT_PORT, project_git)) +defaultbranch=%s +""" % (GERRIT_HOST, GERRIT_PORT, project_git, default_branch)) git_command(repo_path, "add .gitreview") cmd = ("commit -a -m'Added .gitreview' --author='%s'" % GERRIT_GITID)