mercurial/localrepo.py
changeset 45065 b8f4ead9fa49
parent 45064 41b32cbc53f8
child 45084 07b3166e94ca
--- a/mercurial/localrepo.py	Mon Jul 06 18:52:19 2020 +0200
+++ b/mercurial/localrepo.py	Mon Jul 06 19:16:04 2020 +0200
@@ -2899,7 +2899,7 @@
 
         # is the file changed?
         text = fctx.data()
-        if fparent2 != nullid or flog.cmp(fparent1, text) or meta:
+        if fparent2 != nullid or meta or flog.cmp(fparent1, text):
             changelist.append(fname)
             return flog.add(text, meta, tr, linkrev, fparent1, fparent2)
         # are just the flags changed during merge?