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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user