mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-06 15:43:39 +02:00
linkpac: default to cicount=copy if the link is in the same project, to avoid
one gotcha when building kernels
This commit is contained in:
@@ -1153,6 +1153,11 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
print >>sys.stderr, 'Error: source and destination are the same.'
|
||||
return 1
|
||||
|
||||
if src_project == dst_project and not opts.cicount:
|
||||
# in this case, the user usually wants to build different spec
|
||||
# files from the same source
|
||||
opts.cicount = "copy"
|
||||
|
||||
if opts.current:
|
||||
rev = show_upstream_rev(conf.config['apiurl'], src_project, src_package)
|
||||
|
||||
|
Reference in New Issue
Block a user