1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 17:26:15 +02:00

when doing "osc up -e" or "osc up -u" the actual update did not happen,

because revision md5 was used from local data. Doing an update of it before.
This commit is contained in:
Adrian Schröter 2010-05-19 13:02:23 +02:00
parent 87a6bf4205
commit beae2c0cdd

View File

@ -2567,10 +2567,12 @@ Please submit there instead, or use --nodevelproject to force direct submission.
rev = show_upstream_xsrcmd5(p.apiurl, p.prjname, p.name, revision=p.rev, linkrev="base")
p.mark_frozen()
else:
p.update(rev, service_files, opts.limit_size)
rev = p.linkinfo.xsrcmd5
print 'Expanding to rev', rev
elif opts.unexpand_link and p.islink() and p.isexpanded():
print 'Unexpanding to rev', p.linkinfo.lsrcmd5
p.update(rev, service_files, opts.limit_size)
rev = p.linkinfo.lsrcmd5
elif p.islink() and p.isexpanded():
rev = p.latest_rev()