changeset 42339 | c0e1ea0c4cee |
parent 42325 | 526750cdd02d |
child 42347 | 6310180662f5 |
--- a/mercurial/localrepo.py Fri May 17 11:32:48 2019 -0700 +++ b/mercurial/localrepo.py Fri May 17 00:57:57 2019 -0700 @@ -2367,7 +2367,10 @@ node = fctx.filenode() if node in [fparent1, fparent2]: self.ui.debug('reusing %s filelog entry\n' % fname) - if manifest1.flags(fname) != fctx.flags(): + if ((fparent1 != nullid and + manifest1.flags(fname) != fctx.flags()) or + (fparent2 != nullid and + manifest2.flags(fname) != fctx.flags())): changelist.append(fname) return node