Mercurial > hg4j
diff test/org/tmatesoft/hg/test/TestHistory.java @ 249:4c3b9f679412
Deprecated HgLogCommand.FileRevision gone, top-level HgFileRevision is bright and shiny replacement
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 12 Aug 2011 18:58:16 +0200 |
parents | 4252faa556cd |
children | e51dd9a14b6f |
line wrap: on
line diff
--- a/test/org/tmatesoft/hg/test/TestHistory.java Fri Aug 12 18:48:57 2011 +0200 +++ b/test/org/tmatesoft/hg/test/TestHistory.java Fri Aug 12 18:58:16 2011 +0200 @@ -31,10 +31,10 @@ import org.junit.Rule; import org.junit.Test; import org.tmatesoft.hg.core.HgChangeset; +import org.tmatesoft.hg.core.HgFileRevision; import org.tmatesoft.hg.core.HgLogCommand; import org.tmatesoft.hg.core.HgLogCommand.CollectHandler; import org.tmatesoft.hg.core.HgLogCommand.FileHistoryHandler; -import org.tmatesoft.hg.core.HgLogCommand.FileRevision; import org.tmatesoft.hg.repo.HgLookup; import org.tmatesoft.hg.repo.HgRepository; import org.tmatesoft.hg.test.LogOutputParser.Record; @@ -97,7 +97,7 @@ class H extends CollectHandler implements FileHistoryHandler { boolean copyReported = false; boolean fromMatched = false; - public void copy(FileRevision from, FileRevision to) { + public void copy(HgFileRevision from, HgFileRevision to) { copyReported = true; fromMatched = "src/com/tmate/hgkit/console/Remote.java".equals(from.getPath().toString()); }