Fixed issue 93 by preventing the display of a large commit diff.

Still needs to implement the equivalent for subversion and mercurial,
maybe with a simple command $scm->isCommitLarge($commit).
This commit is contained in:
Loic d'Anterroches
2009-01-17 18:46:26 +01:00
parent 61bc7a70b6
commit 835eab9c24
5 changed files with 66 additions and 2 deletions

View File

@@ -302,6 +302,19 @@ class IDF_Scm_Mercurial
return $out[0];
}
/**
* Get commit size.
*
* Get the sum of all the added/removed lines and the number of
* affected files.
*
* @param string Commit ('HEAD')
* @return array array(added, removed, affected)
*/
public function getCommitSize($commit='HEAD')
{
return array(0, 0, 0);
}
/**
* Get latest changes.