Mercurial > jhg
comparison src/org/tmatesoft/hg/repo/HgDataFile.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 | 4c7e3ba67213 |
children | 8da7ade36c57 |
comparison
equal
deleted
inserted
replaced
327:3f09b8c19142 | 328:a674b8590362 |
---|---|
31 import java.util.Collections; | 31 import java.util.Collections; |
32 import java.util.List; | 32 import java.util.List; |
33 | 33 |
34 import org.tmatesoft.hg.core.HgDataStreamException; | 34 import org.tmatesoft.hg.core.HgDataStreamException; |
35 import org.tmatesoft.hg.core.HgException; | 35 import org.tmatesoft.hg.core.HgException; |
36 import org.tmatesoft.hg.core.HgLogCommand; | |
36 import org.tmatesoft.hg.core.Nodeid; | 37 import org.tmatesoft.hg.core.Nodeid; |
37 import org.tmatesoft.hg.internal.DataAccess; | 38 import org.tmatesoft.hg.internal.DataAccess; |
38 import org.tmatesoft.hg.internal.FilterByteChannel; | 39 import org.tmatesoft.hg.internal.FilterByteChannel; |
39 import org.tmatesoft.hg.internal.FilterDataAccess; | 40 import org.tmatesoft.hg.internal.FilterDataAccess; |
40 import org.tmatesoft.hg.internal.IntMap; | 41 import org.tmatesoft.hg.internal.IntMap; |
257 } | 258 } |
258 children.add(child); | 259 children.add(child); |
259 } | 260 } |
260 } | 261 } |
261 | 262 |
263 /** | |
264 * @deprecated use {@link HgLogCommand#execute(org.tmatesoft.hg.core.HgChangesetTreeHandler)} instead | |
265 */ | |
266 @Deprecated | |
262 public void history(HgChangelog.TreeInspector inspector) { | 267 public void history(HgChangelog.TreeInspector inspector) { |
263 final CancelSupport cancelSupport = CancelSupport.Factory.get(inspector); | 268 final CancelSupport cancelSupport = CancelSupport.Factory.get(inspector); |
264 try { | 269 try { |
265 final boolean[] needsSorting = { false }; | 270 final boolean[] needsSorting = { false }; |
266 final HistoryNode[] completeHistory = new HistoryNode[getRevisionCount()]; | 271 final HistoryNode[] completeHistory = new HistoryNode[getRevisionCount()]; |