1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-15 18:10:53 +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(); $repository = $drequest->getRepository();
$history_uri = $drequest->generateURI(array('action' => 'history')); $history_uri = $drequest->generateURI(array('action' => 'history'));
$behind_head = $drequest->getSymbolicCommit(); $behind_head = $drequest->getSymbolicCommit();
$compare = null;
$head_uri = $drequest->generateURI( $head_uri = $drequest->generateURI(
array( array(
'commit' => '', 'commit' => '',
@ -1771,11 +1772,11 @@ final class DiffusionBrowseController extends DiffusionController {
} }
$header = id(new PHUIHeaderView()) $header = id(new PHUIHeaderView())
->setHeader(pht('Recently Open Revisions')) ->setHeader(pht('Recently Open Revisions'));
->setHeaderIcon('fa-gear');
$view = id(new DifferentialRevisionListView()) $view = id(new DifferentialRevisionListView())
->setHeader($header) ->setHeader($header)
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
->setRevisions($revisions) ->setRevisions($revisions)
->setUser($viewer); ->setUser($viewer);