1
0
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:
Michal Marek
2009-11-02 21:02:58 +00:00
parent 31c5c2c11d
commit df8d70b5ad

View File

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