1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-12 23:56:13 +01:00

setlinkrev is setting now the revision to xsrcmd5 by default to avoid later breakage on indirect links

This commit is contained in:
Adrian Schröter 2010-09-07 11:58:11 +02:00
parent c85ee2c0cb
commit 10d999c479
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -1,5 +1,6 @@
0.130
- New "service" command to run source services locally or trigger a re-run on the server.
- setlinkrev is setting now the revision to xsrcmd5 by default to avoid later breakage on indirect links
#
# Feature which requires OBS 2.1
#

View File

@ -4867,7 +4867,7 @@ def set_link_rev(apiurl, project, package, revision = None):
if not revision:
src_project = root.attrib['project']
src_package = root.attrib['package']
root.attrib['rev'] = show_upstream_rev(apiurl, src_project, src_package)
root.attrib['rev'] = show_upstream_xsrcmd5(apiurl, src_project, src_package)
elif revision == -1:
del root.attrib['rev']
else: