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

- be a bit more verbose on copypac comment (to see which options where used)

This commit is contained in:
Adrian Schröter 2011-11-25 13:05:41 +01:00
parent b659ad5285
commit fdde366daf

View File

@ -2453,6 +2453,12 @@ Please submit there instead, or use --nodevelproject to force direct submission.
if not rev:
rev = show_upstream_rev(src_apiurl, src_project, src_package)
comment = 'osc copypac from project:%s package:%s revision:%s' % ( src_project, src_package, rev )
if opts.keep_link:
comment += ", using keep-link"
if opts.expand:
comment += ", using expand"
if opts.client_side_copy:
comment += ", using client side copy"
if src_project == dst_project and \
src_package == dst_package and \