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
|
host=%s
|
||||||
port=%s
|
port=%s
|
||||||
project=%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")
|
git_command(repo_path, "add .gitreview")
|
||||||
cmd = ("commit -a -m'Added .gitreview' --author='%s'"
|
cmd = ("commit -a -m'Added .gitreview' --author='%s'"
|
||||||
% GERRIT_GITID)
|
% GERRIT_GITID)
|
||||||
|
|
Loading…
Reference in New Issue