1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-11 16:36:14 +01:00

- create multiple-submit requests with revision numbers

This commit is contained in:
Adrian Schröter 2013-02-25 15:22:00 +01:00
parent 3e88c3ce32
commit e5189178a1

View File

@ -969,7 +969,7 @@ class Osc(cmdln.Cmdln):
if actionxml != "":
xml = """<request> %s <state name="new"/> <description>%s</description> </request> """ % \
(actionxml, cgi.escape(opts.message or ""))
u = makeurl(apiurl, ['request'], query='cmd=create')
u = makeurl(apiurl, ['request'], query='cmd=create&addrevision=1')
f = http_POST(u, data=xml)
root = ET.parse(f).getroot()