Mercurial > hg4j
comparison src/org/tmatesoft/hg/core/LogCommand.java @ 94:af1f3b78b918
*StatusCollector renamed to Hg*StatusCollector
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 27 Jan 2011 21:18:47 +0100 |
parents | 61eedab3eb3e |
children | a3a2e5deb320 |
comparison
equal
deleted
inserted
replaced
93:d55d4eedfc57 | 94:af1f3b78b918 |
---|---|
27 import java.util.TreeSet; | 27 import java.util.TreeSet; |
28 | 28 |
29 import org.tmatesoft.hg.repo.Changeset; | 29 import org.tmatesoft.hg.repo.Changeset; |
30 import org.tmatesoft.hg.repo.HgDataFile; | 30 import org.tmatesoft.hg.repo.HgDataFile; |
31 import org.tmatesoft.hg.repo.HgRepository; | 31 import org.tmatesoft.hg.repo.HgRepository; |
32 import org.tmatesoft.hg.repo.StatusCollector; | 32 import org.tmatesoft.hg.repo.HgStatusCollector; |
33 import org.tmatesoft.hg.util.PathPool; | 33 import org.tmatesoft.hg.util.PathPool; |
34 | 34 |
35 | 35 |
36 /** | 36 /** |
37 * <pre> | 37 * <pre> |
167 throw new ConcurrentModificationException(); | 167 throw new ConcurrentModificationException(); |
168 } | 168 } |
169 try { | 169 try { |
170 delegate = handler; | 170 delegate = handler; |
171 count = 0; | 171 count = 0; |
172 changeset = new Cset(new StatusCollector(repo), new PathPool(repo.getPathHelper())); | 172 changeset = new Cset(new HgStatusCollector(repo), new PathPool(repo.getPathHelper())); |
173 if (file == null) { | 173 if (file == null) { |
174 repo.getChangelog().range(startRev, endRev, this); | 174 repo.getChangelog().range(startRev, endRev, this); |
175 } else { | 175 } else { |
176 HgDataFile fileNode = repo.getFileNode(file); | 176 HgDataFile fileNode = repo.getFileNode(file); |
177 fileNode.history(startRev, endRev, this); | 177 fileNode.history(startRev, endRev, this); |