# HG changeset patch # User Alexis S. L. Carvalho # Date 1156045494 10800 # Node ID 5bb65c3945a34e4ceaec422bff73e80fbbd96b7e # Parent 61afc32c1a495588442d3c810f3ab6eac15c4778 localrepo.status: detect clean files even when the mtime has changed diff -r 61afc32c1a49 -r 5bb65c3945a3 mercurial/localrepo.py --- a/mercurial/localrepo.py Sun Aug 20 00:44:53 2006 -0300 +++ b/mercurial/localrepo.py Sun Aug 20 00:44:54 2006 -0300 @@ -710,8 +710,10 @@ for f in lookup: if fcmp(f, mf2): modified.append(f) - elif wlock is not None: - self.dirstate.update([f], "n") + else: + clean.append(f) + if wlock is not None: + self.dirstate.update([f], "n") else: # we are comparing working dir against non-parent # generate a pseudo-manifest for the working dir