Now that IDF_Scm::getChanges() is implemented for all SCMs, there is no need for the try-catch anymore.
This commit is contained in:
parent
24fc41ee0d
commit
118ca9f11f
@ -307,12 +307,7 @@ class IDF_Views_Source
|
||||
$cobject->diff = null;
|
||||
$diff->parse();
|
||||
$scmConf = $request->conf->getVal('scm', 'git');
|
||||
try {
|
||||
$changes = $scm->getChanges($commit);
|
||||
} catch (Exception $e) {
|
||||
// getChanges is not yes supported by this backend.
|
||||
$changes = array();
|
||||
}
|
||||
$branches = $scm->getBranches();
|
||||
$in_branches = $scm->inBranches($cobject->commit, '');
|
||||
$tags = $scm->getTags();
|
||||
|
Loading…
Reference in New Issue
Block a user