Starting to use the peg-revision system so we can actually travel back through time
[viewsvn.git] / view.php
index b2aa13bebb64c89a75deab12832f804b1f674d0e..87852758b1e08ee225891cb38fd6725d1fec016a 100644 (file)
--- a/view.php
+++ b/view.php
@@ -55,7 +55,7 @@ $link['log'] = ConstructLink('log', $input->in['repos'], $input->in['path'], 0);
 
 $revision->getRevisionInfo();
 
-$catdata = $lib->run('cat -r' . $revision->revision . ' ' . $lib->arg($repos->fetchPath($input->in['repos']) . $input->in['path']), true);
+$catdata = $lib->run('cat -r' . $revision->revision . ' ' . $lib->arg($repos->fetchPath($input->in['repos']) . $input->in['path']) . '@' . $revision->revision, true);
 
 // ###################################################################