Subject: | checkout links are incorrect |
Template/trac/view needs revision appended to checkout url, when file
has no longer exists in the current revision, and one is trying to view
a past revision (when the file existed).
20c20
< <p>This file can not be displayed in the browser. You can <a href="[%
c.script %]/[% c.repos %]/checkout[% c.path %]">download it</a>.</p>
---
Show quoted text
> <p>This file can not be displayed in the browser. You can <a href="[%
c.script %]/[% c.repos %]/checkout[% c.path %]?rev=[% rev %]">download
it</a>.</p>
Similarly for Template/plain/view:
34c34
< <img src="[% script %]/[% repos %]/checkout[% path %]" />
---
Show quoted text> <img src="[% script %]/[% repos %]/checkout[% path %]?rev=[% rev
%]" />
36c36
< <p>This file can not be displayed in the browser. You can <a href="[%
script %]/[% repos %]/checkout[% path %]">download it</a>.</p>
---
Show quoted text> <p>This file can not be displayed in the browser. You can <a href="[%
script %]/[% repos %]/checkout[% path %]?rev=[% rev %]">download it</a>.</p>