comparison 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
comparison
equal deleted inserted replaced
163:a5198b6487dc 164:d51f1c6aaa28
246 } 246 }
247 } 247 }
248 public void copied(Path fnameOrigin, Path fnameAdded) { 248 public void copied(Path fnameOrigin, Path fnameAdded) {
249 if (needCopies) { 249 if (needCopies) {
250 if (matcher == null || matcher.accept(fnameAdded)) { 250 if (matcher == null || matcher.accept(fnameAdded)) {
251 // FIXME in fact, merged files may report 'copied from' as well, correct status kind thus may differ from Added
251 handler.handleStatus(new HgStatus(Added, fnameAdded, fnameOrigin, logHelper)); 252 handler.handleStatus(new HgStatus(Added, fnameAdded, fnameOrigin, logHelper));
252 } 253 }
253 } 254 }
254 } 255 }
255 public void missing(Path fname) { 256 public void missing(Path fname) {