diff test/org/tmatesoft/hg/test/TestHistory.java @ 282:e51dd9a14b6f

Yet another WC status fix, where dirstate parent and base revision are treated right (dirstate parent other than tip and explicit baseRevision are not the same)
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Sat, 03 Sep 2011 01:21:03 +0200
parents 4c3b9f679412
children 9c9c442b5f2e
line wrap: on
line diff
--- a/test/org/tmatesoft/hg/test/TestHistory.java	Fri Sep 02 13:59:21 2011 +0200
+++ b/test/org/tmatesoft/hg/test/TestHistory.java	Sat Sep 03 01:21:03 2011 +0200
@@ -20,7 +20,6 @@
 import static org.hamcrest.CoreMatchers.is;
 import static org.junit.Assert.assertTrue;
 
-import java.io.File;
 import java.util.ArrayList;
 import java.util.Collections;
 import java.util.Comparator;
@@ -75,7 +74,7 @@
 
 	private TestHistory(HgRepository hgRepo) {
 		repo = hgRepo;
-		eh = new ExecHelper(changelogParser = new LogOutputParser(true), new File(repo.getLocation()));
+		eh = new ExecHelper(changelogParser = new LogOutputParser(true), repo.getWorkingDir());
 		
 	}