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

Merge branch 'fix_frozenlink_commit' of https://github.com/marcus-h/osc

Fix the commit of a frozen package wc.
This commit is contained in:
Marcus Huewe 2021-07-09 13:50:12 +02:00
commit dfdf07b228

View File

@ -1533,8 +1533,8 @@ class Package:
'error: file \'%s\' with state \'%s\' is not known by meta' \
% (filename, st))
todo_send[filename] = f.md5
if ((self.ispulled() or self.islinkrepair()) and st != 'A'
and filename not in sha256sums):
if ((self.ispulled() or self.islinkrepair() or self.isfrozen())
and st != 'A' and filename not in sha256sums):
# Ignore files with state 'A': if we should consider it,
# it would have been in pac.todo, which implies that it is
# in sha256sums.