protected function newDiffParser()
 {
     $parser = new ArcanistDiffParser();
     if ($this->repositoryAPI) {
         $parser->setRepositoryAPI($this->getRepositoryAPI());
     }
     $parser->setWriteDiffOnFailure(true);
     return $parser;
 }
 protected function newDiffParser()
 {
     $parser = new ArcanistDiffParser();
     $parser->setWriteDiffOnFailure(true);
     return $parser;
 }