# HG changeset patch # User Mads Kiilerich # Date 1421194526 -3600 # Node ID 5245caa0dcde940ce11d2356aa01f446f08659c8 # Parent d8e0c591781c147468ea299c255ca255392eda3e dirstate: clarify comment about leaving normal files undef if changed 'now' Clarify that they only are saved as undef if they were marked as normal and changed in the same second. diff -r d8e0c591781c -r 5245caa0dcde mercurial/dirstate.py --- a/mercurial/dirstate.py Sun Jan 18 02:38:57 2015 +0100 +++ b/mercurial/dirstate.py Wed Jan 14 01:15:26 2015 +0100 @@ -882,9 +882,9 @@ elif time != mtime and time != mtime & _rangemask: ladd(fn) elif mtime == lastnormaltime: - # fn may have been changed in the same timeslot without - # changing its size. This can happen if we quickly do - # multiple commits in a single transaction. + # fn may have just been marked as normal and it may have + # changed in the same second without changing its size. + # This can happen if we quickly do multiple commits. # Force lookup, so we don't miss such a racy file change. ladd(fn) elif listclean: