mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
always ask for message when branching a package
This commit is contained in:
parent
6b10a47fbc
commit
ca1bb38bbe
@ -1693,6 +1693,11 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
if len(args) >= 4:
|
||||
tpackage = args[3]
|
||||
|
||||
if not opts.message:
|
||||
footer='please specify the purpose of your branch'
|
||||
template='This package was branched from %s in order to ...\n' % args[0]
|
||||
opts.message = edit_message(footer, template)
|
||||
|
||||
exists, targetprj, targetpkg, srcprj, srcpkg = \
|
||||
branch_pkg(conf.config['apiurl'], args[0], args[1],
|
||||
nodevelproject=opts.nodevelproject, rev=opts.revision,
|
||||
|
Loading…
Reference in New Issue
Block a user