TQ\Svn\Repository\Repository::showCommit PHP Method

showCommit() public method

Returns a string containing information about the given commit
public showCommit ( string $hash ) : string
$hash string The commit ref
return string
    public function showCommit($hash)
    {
        /** @var $result CallResult */
        $result = $this->getSvn()->{'log'}($this->getRepositoryPath(), array('-v', '-r' => $hash));
        $result->assertSuccess(sprintf('Cannot retrieve commit "%s" from "%s"', $hash, $this->getRepositoryPath()));
        return $result->getStdOut();
    }