if ($show['head'])
{
$link['gohead'] = $controller->href_compound('browse.php', null, Paths::fetch_rev_str(false, 'HEAD'));
if ($show['head'])
{
$link['gohead'] = $controller->href_compound('browse.php', null, Paths::fetch_rev_str(false, 'HEAD'));
- $link['diffhead'] = $controller->href_compound('diff.php', null, Paths::fetch_rev_str(true, 'HEAD', $controller->revnum));
+ $link['diffhead'] = $controller->href_compound('diff.php', null, Paths::fetch_rev_str(true, 'HEAD', $controller->revctx));
- $link['diffprev'] = $controller->href_compound('diff.php', null, Paths::fetch_rev_str(false, $controller->revnum));
+ $link['diffprev'] = $controller->href_compound('diff.php', null, Paths::fetch_rev_str(false, $controller->revctx));
$revinfo['message_clean'] = SVNCommon::format_log_message($revinfo['message']);
$revinfo['date'] = SVNCommon::format_date_string($revinfo['dateline']);
$revinfo['message_clean'] = SVNCommon::format_log_message($revinfo['message']);
$revinfo['date'] = SVNCommon::format_date_string($revinfo['dateline']);