comparison src/com/tmate/hgkit/ll/HgRepository.java @ 18:02ee376bee79

status operation against current working directory
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Mon, 03 Jan 2011 20:42:52 +0100
parents df8c67f3006a
children 11cfabe692b3
comparison
equal deleted inserted replaced
17:571e1b2cc3f7 18:02ee376bee79
56 56
57 /** 57 /**
58 * Perhaps, should be separate interface, like ContentLookup 58 * Perhaps, should be separate interface, like ContentLookup
59 */ 59 */
60 protected abstract RevlogStream resolve(String repositoryPath); 60 protected abstract RevlogStream resolve(String repositoryPath);
61
62 public abstract void status(int rev1, int rev2 /*WorkingDir - TIP, TIP?*/, StatusInspector inspector);
63
64 public interface StatusInspector {
65 void modified(String fname);
66 void added(String fname);
67 void copied(String fnameOrigin, String fnameAdded); // if copied files of no interest, should delegate to self.added(fnameAdded);
68 void removed(String fname);
69 void clean(String fname);
70 void missing(String fname);
71 void unknown(String fname); // not tracked
72 void ignored(String fname);
73 }
61 } 74 }