1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-06 15:43:39 +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

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.