mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
enhance logcommand
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user