Search in sources :

Example 6 with HgNameWithHashInfo

use of org.zmlx.hg4idea.HgNameWithHashInfo in project intellij-community by JetBrains.

the class HgRepositoryReader method readMQAppliedPatches.

@NotNull
public List<HgNameWithHashInfo> readMQAppliedPatches() {
    ArrayList<HgNameWithHashInfo> mqPatchRefs = ContainerUtil.newArrayList();
    readReferences(new File(myMqInternalDir, "status"), mqPatchRefs);
    return mqPatchRefs;
}
Also used : HgNameWithHashInfo(org.zmlx.hg4idea.HgNameWithHashInfo) File(java.io.File) NotNull(org.jetbrains.annotations.NotNull)

Aggregations

HgNameWithHashInfo (org.zmlx.hg4idea.HgNameWithHashInfo)6 NotNull (org.jetbrains.annotations.NotNull)3 Project (com.intellij.openapi.project.Project)2 Hash (com.intellij.vcs.log.Hash)2 HgRepository (org.zmlx.hg4idea.repo.HgRepository)2 ProgressIndicator (com.intellij.openapi.progress.ProgressIndicator)1 Task (com.intellij.openapi.progress.Task)1 File (java.io.File)1 ArrayList (java.util.ArrayList)1 HgQGotoCommand (org.zmlx.hg4idea.command.mq.HgQGotoCommand)1 HgQPopCommand (org.zmlx.hg4idea.command.mq.HgQPopCommand)1 HgPatchReferenceValidator (org.zmlx.hg4idea.util.HgPatchReferenceValidator)1