boolean (@Nullable HgCommandResult result) { if (result == null) return false; String errorLine = getAbortLine(result); return errorLine != null && StringUtil.contains(errorLine, MERGE_WITH_ANCESTOR_ERROR); }