1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-24 22:06:14 +01:00
This commit is contained in:
Marcus Huewe 2010-08-19 13:43:48 +02:00
parent 4eacd5dfa7
commit eeb05059ec

View File

@ -3157,9 +3157,9 @@ Please submit there instead, or use --nodevelproject to force direct submission.
if opts.expand_link and p.islink() and not p.isexpanded():
if p.haslinkerror():
try:
rev = p.show_upstream_xsrcmd5()
rev = show_upstream_xsrcmd5(p.apiurl, p.prjname, p.name, revision=p.rev)
except:
rev = p.show_upstream_xsrcmd5(linkrev="base")
rev = show_upstream_xsrcmd5(p.apiurl, p.prjname, p.name, revision=p.rev, linkrev='base')
p.mark_frozen()
else:
p.update(rev, opts.server_side_source_service_files, opts.limit_size)