comparison src/org/tmatesoft/hg/repo/HgStatusInspector.java @ 316:ee6b467c1a5f

Supply HGFileRevision with copy information when possible, calculate it otherwise
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Wed, 28 Sep 2011 13:09:16 +0200
parents 4a948ec83980
children 150500515714
comparison
equal deleted inserted replaced
315:8952f89be195 316:ee6b467c1a5f
25 * @author TMate Software Ltd. 25 * @author TMate Software Ltd.
26 */ 26 */
27 public interface HgStatusInspector { 27 public interface HgStatusInspector {
28 void modified(Path fname); 28 void modified(Path fname);
29 void added(Path fname); 29 void added(Path fname);
30 // XXX need to specify whether StatusCollector invokes added() along with copied or not! 30 /**
31 void copied(Path fnameOrigin, Path fnameAdded); // if copied files of no interest, should delegate to self.added(fnameAdded); 31 * This method is invoked for files that we added as a result of a copy/move operation, and it's the sole
32 * method invoked in this case, that is {@link #added(Path)} method is NOT invoked along with it.
33 * If copied files of no interest, it is implementation responsibility to delegate to <code>this.added(fnameAdded)</code>
34 */
35 void copied(Path fnameOrigin, Path fnameAdded);
32 void removed(Path fname); 36 void removed(Path fname);
33 void clean(Path fname); 37 void clean(Path fname);
34 void missing(Path fname); // aka deleted (tracked by Hg, but not available in FS any more 38 void missing(Path fname); // aka deleted (tracked by Hg, but not available in FS any more
35 void unknown(Path fname); // not tracked 39 void unknown(Path fname); // not tracked
36 void ignored(Path fname); 40 void ignored(Path fname);