Summary: Self-explanatory.
Test Plan: Eyeball it.
Reviewers: #blessed_reviewers, epriestley
Reviewed By: #blessed_reviewers, epriestley
Subscribers: Korvin
Differential Revision: https://secure.phabricator.com/D13807
$commit_hash = $commit['identifier'];
// Convert commit hash from SVN to Git/HG (for FB case)
if ($is_git_svn || $is_hg_svn) {
- $commit_hash = $repository_api->
- getHashFromFromSVNRevisionNumber($commit_hash);
+ $commit_hash = $repository_api
+ ->getHashFromFromSVNRevisionNumber($commit_hash);
}
} else {
// Assume input is a commit hash