comparison test/org/tmatesoft/hg/test/TestHistory.java @ 95:bcd31a4c638a

Lookup to HgLookup
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 27 Jan 2011 21:22:57 +0100
parents 7255c971dd66
children b71b3f7d24d4
comparison
equal deleted inserted replaced
94:af1f3b78b918 95:bcd31a4c638a
25 import org.tmatesoft.hg.core.LogCommand.CollectHandler; 25 import org.tmatesoft.hg.core.LogCommand.CollectHandler;
26 import org.tmatesoft.hg.core.LogCommand.FileHistoryHandler; 26 import org.tmatesoft.hg.core.LogCommand.FileHistoryHandler;
27 import org.tmatesoft.hg.core.LogCommand.FileRevision; 27 import org.tmatesoft.hg.core.LogCommand.FileRevision;
28 import org.tmatesoft.hg.core.Path; 28 import org.tmatesoft.hg.core.Path;
29 import org.tmatesoft.hg.repo.HgRepository; 29 import org.tmatesoft.hg.repo.HgRepository;
30 import org.tmatesoft.hg.repo.Lookup; 30 import org.tmatesoft.hg.repo.HgLookup;
31 import org.tmatesoft.hg.test.LogOutputParser.Record; 31 import org.tmatesoft.hg.test.LogOutputParser.Record;
32 32
33 33
34 /** 34 /**
35 * 35 *
41 private final HgRepository repo; 41 private final HgRepository repo;
42 private ExecHelper eh; 42 private ExecHelper eh;
43 private LogOutputParser changelogParser; 43 private LogOutputParser changelogParser;
44 44
45 public static void main(String[] args) throws Exception { 45 public static void main(String[] args) throws Exception {
46 TestHistory th = new TestHistory(new Lookup().detectFromWorkingDir()); 46 TestHistory th = new TestHistory(new HgLookup().detectFromWorkingDir());
47 th.testCompleteLog(); 47 th.testCompleteLog();
48 th.testFollowHistory(); 48 th.testFollowHistory();
49 } 49 }
50 50
51 public TestHistory(HgRepository hgRepo) { 51 public TestHistory(HgRepository hgRepo) {