Mercurial > jhg
changeset 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 | a5198b6487dc |
children | b45e612ea750 |
files | src/org/tmatesoft/hg/core/HgStatusCommand.java |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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)); } }