void (@NotNull AnActionEvent e) { List<VcsRevisionNumber> revisions = getRevisionNumbersFromContext(e); revisions = ContainerUtil.reverse(revisions); // we want hashes from old to new, e.g. to be able to pass to native client in terminal CopyPasteManager.getInstance().setContents(new StringSelection(getHashesAsString(revisions))); }