Remove deprecated create-project '--name' option
The create-project '--name' option was removed[1] in Gerrit 2.12. Update gerritlib to match the command for Gerrit-2.12+. This is also compatible with Gerrit 2.11 [1] https://gerrit-review.googlesource.com/#/c/69738/ Change-Id: Ie70d938501cbf88dbbb0e9ab22abcc921f89ccdc
This commit is contained in:
parent
33feeb837b
commit
4527edd4ad
@ -221,7 +221,7 @@ class Gerrit(object):
|
||||
if description:
|
||||
cmd = "%s --description \"%s\"" % \
|
||||
(cmd, description.replace('"', r'\"'))
|
||||
cmd = '%s --name "%s"' % (cmd, project)
|
||||
cmd = '%s "%s"' % (cmd, project)
|
||||
out, err = self._ssh(cmd)
|
||||
return err
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user