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:
parent
eed68de999
commit
3480b3e7ef
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue