use of org.zmlx.hg4idea.command.mq.HgQImportCommand in project intellij-community by JetBrains.
the class MqPatchTest method testMqPatchInfoAfterQImport.
public void testMqPatchInfoAfterQImport() throws Exception {
cd(myRepository);
HgQImportCommand importCommand = new HgQImportCommand(myHgRepository);
importCommand.executeInCurrentThread("tip");
MqPatchDetails patchDetails = updateAndGetDetails();
TimedVcsCommit tipCommitDetailsFromLog = getLastRevisionDetails();
assertEqualsCommitInfo(tipCommitDetailsFromLog, patchDetails);
}
use of org.zmlx.hg4idea.command.mq.HgQImportCommand in project intellij-community by JetBrains.
the class HgQImportFromLogAction method actionPerformed.
@Override
protected void actionPerformed(@NotNull HgRepository repository, @NotNull Hash commit) {
String revisionHash = commit.asString();
new HgQImportCommand(repository).execute(revisionHash);
}
Aggregations