comparison src/org/tmatesoft/hg/core/HgManifestCommand.java @ 249:4c3b9f679412

Deprecated HgLogCommand.FileRevision gone, top-level HgFileRevision is bright and shiny replacement
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 12 Aug 2011 18:58:16 +0200
parents 1792b37650f2
children 6dbbc53fc46d
comparison
equal deleted inserted replaced
248:3fbfce107f94 249:4c3b9f679412
121 * Callback to walk file/directory tree of a revision 121 * Callback to walk file/directory tree of a revision
122 */ 122 */
123 public interface Handler { 123 public interface Handler {
124 void begin(Nodeid manifestRevision); 124 void begin(Nodeid manifestRevision);
125 void dir(Path p); // optionally invoked (if walker was configured to spit out directories) prior to any files from this dir and subdirs 125 void dir(Path p); // optionally invoked (if walker was configured to spit out directories) prior to any files from this dir and subdirs
126 void file(HgLogCommand.FileRevision fileRevision); // XXX allow to check p is invalid (df.exists()) 126 void file(HgFileRevision fileRevision); // XXX allow to check p is invalid (df.exists())
127 void end(Nodeid manifestRevision); 127 void end(Nodeid manifestRevision);
128 } 128 }
129 129
130 // I'd rather let HgManifestCommand implement HgManifest.Inspector directly, but this pollutes API alot 130 // I'd rather let HgManifestCommand implement HgManifest.Inspector directly, but this pollutes API alot
131 private class Mediator implements HgManifest.Inspector { 131 private class Mediator implements HgManifest.Inspector {