1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 00:32:42 +01:00

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 301750f6e6
commit 0b3117bb68

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);