boolean (@Nullable HgCommandResult result) { //abort: process cannot access the file because it is being used by another process if (result == null) return false; return HgErrorUtil.isAbort(result) && result.getRawError().contains("used by another process"); }