Mercurial > hg4j
diff src/org/tmatesoft/hg/repo/HgWorkingCopyStatusCollector.java @ 180:42fe9a94b9d0
Report files as clean when no difference but timestamp found
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Wed, 06 Apr 2011 03:08:05 +0200 |
parents | d5268ca7715b |
children | c9b305df0b89 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgWorkingCopyStatusCollector.java Wed Apr 06 02:50:26 2011 +0200 +++ b/src/org/tmatesoft/hg/repo/HgWorkingCopyStatusCollector.java Wed Apr 06 03:08:05 2011 +0200 @@ -182,6 +182,8 @@ HgDataFile df = repo.getFileNode(fname); if (!areTheSame(f, df, HgRepository.TIP)) { inspector.modified(df.getPath()); + } else { + inspector.clean(df.getPath()); } } } else if ((r = getDirstate().checkAdded(fname)) != null) {