[viewvc-users] svn sticky revision in path rather than query
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, Is it possible to include the svn sticky revision in the path component of a ViewVC URL instead of the query part? The use case is that my repository stores the HTML files of a website. I would like to browse an old version of the website using a sticky revision. Links within the HTML files don't include the "?pathrev=XXX" part, so they point to the HEAD revision, not revision of the source link. Sticky revisions would be stickier if there were a means to put them in the path part of the URL. Instead of http://example.org/viewvc.cgi/some/file?pathrev=10000, it would be useful to be able to write http://example.org/viewvc.cgi/*revision=10000*/some/file. However, the specification of ViewVC URLs (http://viewvc.tigris.org/nonav/source/browse/*checkout*/viewvc/trunk/docs/u rl-reference.html) doesn't seem to allow for this. Is there a simple solution to implement this requirement? (maybe through Apache rewrite rules?) Thank you, -- Alexandre. ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2237894 To unsubscribe from this discussion, e-mail: [[email protected]].