Submitter | phabricator |
---|---|
Date | May 17, 2019, 6:49 p.m. |
Message ID | <differential-rev-PHID-DREV-j257uxzjvyy223io4tix-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/40132/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/tests/test-convert-hg-sink.t b/tests/test-convert-hg-sink.t --- a/tests/test-convert-hg-sink.t +++ b/tests/test-convert-hg-sink.t @@ -616,8 +616,9 @@ |/ o 0 add 0 -BROKEN: now 'a' appears changed + +# Still no files $ hg log -r 3 -T '{files}\n' - a + #endif diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -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