Merge "Set default branch in .gitreview files when creating project"
This commit is contained in:
commit
6b1c39df5d
|
@ -162,7 +162,8 @@ def make_local_copy(repo_path, project, default_branch, project_list,
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue