Mercurial > hg4j
comparison test/org/tmatesoft/hg/test/TestHistory.java @ 74:6f1b88693d48
Complete refactoring to org.tmatesoft
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Mon, 24 Jan 2011 03:14:45 +0100 |
parents | 993f6f8e1314 |
children | 7255c971dd66 |
comparison
equal
deleted
inserted
replaced
73:0d279bcc4442 | 74:6f1b88693d48 |
---|---|
20 import java.util.Iterator; | 20 import java.util.Iterator; |
21 import java.util.List; | 21 import java.util.List; |
22 | 22 |
23 import org.tmatesoft.hg.core.Cset; | 23 import org.tmatesoft.hg.core.Cset; |
24 import org.tmatesoft.hg.core.LogCommand; | 24 import org.tmatesoft.hg.core.LogCommand; |
25 import org.tmatesoft.hg.repo.HgRepository; | |
26 import org.tmatesoft.hg.repo.Lookup; | |
25 import org.tmatesoft.hg.test.LogOutputParser.Record; | 27 import org.tmatesoft.hg.test.LogOutputParser.Record; |
26 | 28 |
27 import com.tmate.hgkit.fs.RepositoryLookup; | |
28 import com.tmate.hgkit.ll.HgRepository; | |
29 | 29 |
30 /** | 30 /** |
31 * | 31 * |
32 * @author Artem Tikhomirov | 32 * @author Artem Tikhomirov |
33 * @author TMate Software Ltd. | 33 * @author TMate Software Ltd. |
37 private final HgRepository repo; | 37 private final HgRepository repo; |
38 private ExecHelper eh; | 38 private ExecHelper eh; |
39 private LogOutputParser changelogParser; | 39 private LogOutputParser changelogParser; |
40 | 40 |
41 public static void main(String[] args) throws Exception { | 41 public static void main(String[] args) throws Exception { |
42 TestHistory th = new TestHistory(new RepositoryLookup().detectFromWorkingDir()); | 42 TestHistory th = new TestHistory(new Lookup().detectFromWorkingDir()); |
43 th.testCompleteLog(); | 43 th.testCompleteLog(); |
44 } | 44 } |
45 | 45 |
46 public TestHistory(HgRepository hgRepo) { | 46 public TestHistory(HgRepository hgRepo) { |
47 repo = hgRepo; | 47 repo = hgRepo; |