Adding language settings to config.php so that people can control the language output...
[viewsvn.git] / blame.php
index 7aab44e7c39036bdb0aa980c0bb9740d1dcaface..17f8f9a8ae85a5983dbd90c03be4f39dfad16f36 100644 (file)
--- a/blame.php
+++ b/blame.php
@@ -2,7 +2,7 @@
 /*=====================================================================*\
 || ###################################################################
 || # ViewSVN [#]version[#]
-|| # Copyright ©2002-[#]year[#] Iris Studios, Inc.
+|| # Copyright ©2002-[#]year[#] Blue Static
 || #
 || # This program is free software; you can redistribute it and/or modify
 || # it under the terms of the GNU General Public License as published by
@@ -34,11 +34,11 @@ $navbar = ConstructNavbar();
 
 $revision = new Revision($input->in['repos'], $input->in['rev'], $input->in['path']);
 
-$blame = BSXml::Parse($lib->run('blame --xml -r' . $revision->revision . ' ' . $lib->arg($repos->fetchPath($input->in['repos']) . $input->in['path']), true));
+$blame = BSXml::Parse($lib->run('blame --xml -r' . $revision->revision . ' ' . $lib->arg($repos->fetchPath($input->in['repos']) . $input->in['path']) . '@' . $revision->revision, true));
 $blame = $blame['blame']['target']['entry'];
 BSXml::UnifyNode($blame);
 
-$catdata = $lib->run('cat -r' . $revision->revision . ' ' . $lib->arg($repos->fetchPath($input->in['repos']) . $input->in['path']));
+$catdata = $lib->run('cat -r' . $revision->revision . ' ' . $lib->arg($repos->fetchPath($input->in['repos']) . $input->in['path']) . '@' . $revision->revision);
 
 foreach ($catdata AS $num => $line)
 {