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:
James E. Blair
2012-04-11 13:18:05 -07:00
parent b895fab2f3
commit da19131702

View File

@@ -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)