void (Project project, HgVcs activeVcs, List<VirtualFile> files, DataContext context) { HgResolveCommand resolveCommand = new HgResolveCommand(project); for (VirtualFile file : files) { VirtualFile root = VcsUtil.getVcsRootFor(project, file); if (root == null) { return; } resolveCommand.markResolved(root, file); } }