public static boolean isAppliedPatch(@NotNull HgRepository repository, final @NotNull Hash hash) {
    return ContainerUtil.exists(repository.getMQAppliedPatches(), info -> info.getHash().equals(hash));
  }
public static boolean isAppliedPatch(@NotNull HgRepository repository, final @NotNull Hash hash)