getLog($path, "", "", true); if (is_string($history)) { echo $history; exit; } $youngest = $history->entries[0]->rev; if (empty($rev)) { $rev = $youngest; } $history = $svnrep->getLog($path, $rev); if (is_string($history)) { echo $history; exit; } if ($path{0} != "/") { $ppath = "/".$path; } else { $ppath = $path; } $prevrev = @$history->entries[1]->rev; $vars["repname"] = htmlentities($rep->getDisplayName(), ENT_QUOTES, 'UTF-8'); $vars["rev"] = $rev; $vars["path"] = htmlentities($ppath, ENT_QUOTES, 'UTF-8'); $vars["prevrev"] = $prevrev; $vars["rev1"] = $history->entries[0]->rev; $vars["rev2"] = $prevrev; createDirLinks($rep, $ppath, $rev); $listing = array(); $url = $config->getURL($rep, $path, "file"); if ($rev != $youngest) { $vars["goyoungestlink"] = ''.$lang['GOYOUNGEST'].''; } else { $vars["goyoungestlink"] = ""; } $vars['indexurl'] = $config->getURL($rep, '', 'index'); $vars['repurl'] = $config->getURL($rep, '', 'dir'); $url = $config->getURL($rep, $path, "file"); $vars["filedetaillink"] = "${lang["FILEDETAIL"]}"; $url = $config->getURL($rep, $path, "log"); $vars["fileviewloglink"] = "${lang["VIEWLOG"]}"; $url = $config->getURL($rep, $path, "diff"); $vars["prevdifflink"] = "${lang["DIFFPREV"]}"; $url = $config->getURL($rep, $path, "blame"); $vars["blamelink"] = "${lang["BLAME"]}"; if ($prevrev) { $url = $config->getURL($rep, $path, "diff"); if (!$all) { $vars["showalllink"] = ''.$lang['SHOWENTIREFILE'].''; $vars["showcompactlink"] = ''; } else { $vars["showcompactlink"] = ''.$lang['SHOWCOMPACT'].''; $vars["showalllink"] = ''; } if (!$ignoreWhitespace) { $vars['ignorewhitespacelink'] = ''.$lang['IGNOREWHITESPACE'].''; $vars['regardwhitespacelink'] = ''; } else { $vars['regardwhitespacelink'] = ''.$lang['REGARDWHITESPACE'].''; $vars['ignorewhitespacelink'] = ''; } // Get the contents of the two files $newtname = tempnam("temp", ""); $highlightedNew = $svnrep->getFileContents($history->entries[0]->path, $newtname, $history->entries[0]->rev, "", true); $oldtname = tempnam("temp", ""); $highlightedOld = $svnrep->getFileContents($history->entries[1]->path, $oldtname, $history->entries[1]->rev, "", true); $ent = (!$highlightedNew && !$highlightedOld); $listing = do_diff($all, $ignoreWhitespace, $rep, $ent, $newtname, $oldtname); // Remove our temporary files @unlink($oldtname); @unlink($newtname); } else { $vars["noprev"] = 1; $url = $config->getURL($rep, $path, "file"); $vars["filedetaillink"] = "${lang["SHOWENTIREFILE"]}."; } $vars["version"] = $version; if (!$rep->hasReadAccess($path, false)) { $vars["noaccess"] = true; } parseTemplate($rep->getTemplatePath()."header.tmpl", $vars, $listing); parseTemplate($rep->getTemplatePath()."diff.tmpl", $vars, $listing); parseTemplate($rep->getTemplatePath()."footer.tmpl", $vars, $listing); WebSVN - websvn - Blame - Rev 6 - /diff.php
  jablonka.czprosek.czf

websvn

Subversion Repositories:
[/] [diff.php] - Blame information for rev 6

 

Line No. Rev Author Line

Powered by WebSVN 2.2.1