enhance logcommand

This commit is contained in:
Eduard Heimbuch
2019-10-25 12:31:18 +02:00
parent 5c7bd90f7a
commit a938fd8682
8 changed files with 42 additions and 10 deletions

View File

@@ -68,7 +68,7 @@ public class HgLogCommand extends AbstractCommand implements LogCommand
//~--- get methods ----------------------------------------------------------
@Override
public Changeset getChangeset(String id) {
public Changeset getChangeset(String id, LogCommandRequest request) {
com.aragost.javahg.Repository repository = open();
HgLogChangesetCommand cmd = on(repository);

View File

@@ -154,7 +154,7 @@ public class HgLogCommandTest extends AbstractHgCommandTestBase
HgLogCommand command = createComamnd();
String revision = "a9bacaf1b7fa0cebfca71fed4e59ed69a6319427";
Changeset c =
command.getChangeset(revision);
command.getChangeset(revision, null);
assertNotNull(c);
assertEquals(revision, c.getId());