1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-15 10:00:55 +01:00

(stable) Fix comparison check for SVN in browsing Diffusion

Summary: Fixes T12905. Missed setting this variable.

Test Plan: Browse an SVN repository.

Reviewers: epriestley

Subscribers: Korvin

Maniphest Tasks: T12905

Differential Revision: https://secure.phabricator.com/D18190
This commit is contained in:
Chad Little 2017-07-09 06:40:51 -07:00
parent eed68de999
commit 3480b3e7ef

View file

@ -1667,6 +1667,7 @@ final class DiffusionBrowseController extends DiffusionController {
$repository = $drequest->getRepository();
$history_uri = $drequest->generateURI(array('action' => 'history'));
$behind_head = $drequest->getSymbolicCommit();
$compare = null;
$head_uri = $drequest->generateURI(
array(
'commit' => '',
@ -1771,11 +1772,11 @@ final class DiffusionBrowseController extends DiffusionController {
}
$header = id(new PHUIHeaderView())
->setHeader(pht('Recently Open Revisions'))
->setHeaderIcon('fa-gear');
->setHeader(pht('Recently Open Revisions'));
$view = id(new DifferentialRevisionListView())
->setHeader($header)
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
->setRevisions($revisions)
->setUser($viewer);