Mercurial > jhg
diff src/org/tmatesoft/hg/core/HgStatusCommand.java @ 164:d51f1c6aaa28
Record knowledge copies are not only attribute of Added files
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 10 Mar 2011 04:46:34 +0100 |
parents | 6b55f10ef54b |
children | 41a778e3fd31 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgStatusCommand.java Thu Mar 10 03:18:49 2011 +0100 +++ b/src/org/tmatesoft/hg/core/HgStatusCommand.java Thu Mar 10 04:46:34 2011 +0100 @@ -248,6 +248,7 @@ public void copied(Path fnameOrigin, Path fnameAdded) { if (needCopies) { if (matcher == null || matcher.accept(fnameAdded)) { + // FIXME in fact, merged files may report 'copied from' as well, correct status kind thus may differ from Added handler.handleStatus(new HgStatus(Added, fnameAdded, fnameOrigin, logHelper)); } }