* Attempt to resolve conflict with the specified tool.
*
* @return true if the conflict was resolved, false otherwise
*/
public boolean resolveWith(String tool) {
ResolveCommand cmd = ResolveCommand.on(getRepository()).tool(tool);
cmd.execute(getFilename());
this.resolved = cmd.getReturnCode() == 0;
return this.resolved;
}