Submitter | phabricator |
---|---|
Date | July 19, 2021, 10:41 a.m. |
Message ID | <differential-rev-PHID-DREV-ina7ikobdgegzupdazud-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/49449/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py --- a/mercurial/dirstate.py +++ b/mercurial/dirstate.py @@ -620,6 +620,14 @@ possibly_dirty=possibly_dirty, parentfiledata=parentfiledata, ) + if ( + parentfiledata is not None + and parentfiledata[2] > self._lastnormaltime + ): + # Remember the most recent modification timeslot for status(), + # to make sure we won't miss future size-preserving file content + # modifications that happen within the same timeslot. + self._lastnormaltime = parentfiledata[2] def _addpath( self,