You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by an...@amd.com on 2004/04/29 05:46:09 UTC
Subversion serving Wikis and other Web Pages
This may be off-topic, but maybe y'all can point me.
(Subwiki doesn't cut it.)
One of the clasic problems with Wikis and other
web pages is the "dangling URL": an URL that points
to a page that *was* valid, but is no longer.
A good VC system, such as Subversion, may be able
to help this:
URLs might look like
http://server/cgi/svn-wrapper/was-rev150/path/to/page.html
The svn-wrapper cgi would first try eliding the version,
accessing path/to/page.html within the repo. If found,
great; possibly it would redirect to the latest revision.
If the page has been moved in the repo, svn-wrapper would
follow it to where it has been moved to, possibly warning
the user:
http://server/cgi/svn-wrapper/was-rev150/path/to/page.html
has been moved to http://server/cgi/svn-wrapper/new-rev259/newpath/to/page.html
Do you want to go there,
do you want the old revision
http://server/cgi/svn-wrapper/old-rev150/path/to/page.html
or do you want the last revision at the original path
http://server/cgi/svn-wrapper/old-rev159/path/to/page.html
?
If the URL is specified as
http://server/cgi/svn-wrapper/old-rev150/path/to/page.html
it goes to that veersion; i.e. old-revNNN exactly specifies
the version.
was-rev150 in an URL allows the URL to be tracked.
---
So: anyone doing something like this?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org