1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-16 18:36:15 +01:00
Fix for commit 48a35fed91: also
consider file dgsts if mtimes differ.
This commit is contained in:
Marcus Huewe 2017-08-17 10:12:41 +02:00
commit 1ad2f92f7b

View File

@ -1868,7 +1868,7 @@ class Package:
filemeta = self.findfilebyname(n)
state = ' '
if conf.config['status_mtime_heuristic']:
if os.path.getmtime(localfile) != filemeta.mtime:
if os.path.getmtime(localfile) != filemeta.mtime and dgst(localfile) != filemeta.md5:
state = 'M'
elif dgst(localfile) != filemeta.md5:
state = 'M'