1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-23 21:36:13 +01:00

- do_branch: do not checkout server service files if "--checkout" is specified

Otherwise one has to checkout the expanded sources without the
server service files before doing a commit.
This commit is contained in:
Marcus Huewe 2015-10-03 22:24:58 +02:00
parent cc3979cc7f
commit 400352c61e

View File

@ -3310,7 +3310,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
package = targetpkg or args[1] package = targetpkg or args[1]
if opts.checkout: if opts.checkout:
checkout_package(apiurl, targetprj, package, server_service_files=True, checkout_package(apiurl, targetprj, package, server_service_files=False,
expand_link=True, prj_dir=targetprj) expand_link=True, prj_dir=targetprj)
if conf.config['verbose']: if conf.config['verbose']:
print('Note: You can use "osc delete" or "osc submitpac" when done.\n') print('Note: You can use "osc delete" or "osc submitpac" when done.\n')