Mercurial > hg4j
comparison 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 |
comparison
equal
deleted
inserted
replaced
179:da426c2fe1ec | 180:42fe9a94b9d0 |
---|---|
180 } else { | 180 } else { |
181 // check actual content to avoid false modified files | 181 // check actual content to avoid false modified files |
182 HgDataFile df = repo.getFileNode(fname); | 182 HgDataFile df = repo.getFileNode(fname); |
183 if (!areTheSame(f, df, HgRepository.TIP)) { | 183 if (!areTheSame(f, df, HgRepository.TIP)) { |
184 inspector.modified(df.getPath()); | 184 inspector.modified(df.getPath()); |
185 } else { | |
186 inspector.clean(df.getPath()); | |
185 } | 187 } |
186 } | 188 } |
187 } else if ((r = getDirstate().checkAdded(fname)) != null) { | 189 } else if ((r = getDirstate().checkAdded(fname)) != null) { |
188 if (r.name2 == null) { | 190 if (r.name2 == null) { |
189 inspector.added(getPathPool().path(fname)); | 191 inspector.added(getPathPool().path(fname)); |