comparison src/org/tmatesoft/hg/repo/HgChangelog.java @ 328:a674b8590362

Move file tree history to upper API level
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Wed, 05 Oct 2011 07:13:57 +0200
parents 09628675bcee
children 694ebabb5cb3
comparison
equal deleted inserted replaced
327:3f09b8c19142 328:a674b8590362
30 import java.util.Locale; 30 import java.util.Locale;
31 import java.util.Map; 31 import java.util.Map;
32 import java.util.TimeZone; 32 import java.util.TimeZone;
33 33
34 import org.tmatesoft.hg.core.HgBadStateException; 34 import org.tmatesoft.hg.core.HgBadStateException;
35 import org.tmatesoft.hg.core.HgLogCommand;
35 import org.tmatesoft.hg.core.Nodeid; 36 import org.tmatesoft.hg.core.Nodeid;
36 import org.tmatesoft.hg.internal.DataAccess; 37 import org.tmatesoft.hg.internal.DataAccess;
37 import org.tmatesoft.hg.internal.IterateControlMediator; 38 import org.tmatesoft.hg.internal.IterateControlMediator;
38 import org.tmatesoft.hg.internal.Lifecycle; 39 import org.tmatesoft.hg.internal.Lifecycle;
39 import org.tmatesoft.hg.internal.Pool; 40 import org.tmatesoft.hg.internal.Pool;
108 109
109 /** 110 /**
110 * Unlike regular {@link Inspector}, this one supplies changeset revision along with its parents and children according 111 * Unlike regular {@link Inspector}, this one supplies changeset revision along with its parents and children according
111 * to parent information of the revlog this inspector visits. 112 * to parent information of the revlog this inspector visits.
112 * @see HgDataFile#history(TreeInspector) 113 * @see HgDataFile#history(TreeInspector)
114 * @deprecated use {@link HgChangesetTreeHandler} and HgLogCommand#execute(HgChangesetTreeHandler)}
113 */ 115 */
116 @Deprecated
114 public interface TreeInspector { 117 public interface TreeInspector {
115 // the reason TreeInsector is in HgChangelog, not in Revlog, because despite the fact it can 118 // the reason TreeInsector is in HgChangelog, not in Revlog, because despite the fact it can
116 // be applied to any revlog, it's not meant to provide revisions of any revlog it's beeing applied to, 119 // be applied to any revlog, it's not meant to provide revisions of any revlog it's beeing applied to,
117 // but changeset revisions always. 120 // but changeset revisions always.
118 // TODO HgChangelog.walk(TreeInspector) 121 // TODO HgChangelog.walk(TreeInspector)