changeset 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 (2011-04-06)
parents da426c2fe1ec
children cd3371670f0b
files src/org/tmatesoft/hg/repo/HgWorkingCopyStatusCollector.java
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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) {