Change draft ref to drafts.
Between 2.3-rc0 and 2.3, Gerrit changed the magic drafts ref to 'drafts'. Change-Id: I6608633ad55c977d371ea24f76d3b19f5481c568
This commit is contained in:
@@ -654,7 +654,7 @@ def main():
|
||||
ref = "for"
|
||||
|
||||
if options.draft:
|
||||
ref = "draft"
|
||||
ref = "drafts"
|
||||
|
||||
cmd = "git push %s HEAD:refs/%s/%s/%s" % (remote, ref, branch,
|
||||
topic)
|
||||
|
||||
Reference in New Issue
Block a user