You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "M. van Renswoude" <ma...@x2software.net> on 2004/06/06 21:20:34 UTC

svn:keywords expansion on GET

Hi,

when viewing a file through a web browser keywords ($Rev$ for example) are
left as-is, but when checking out using the Subversion client these are
replaced. My guess is that it's a client-side thing so the server doesn't
need to handle the mess it creates when comparing versions. My question is;
is there some way these can be replaced server-side if the request comes
from a non-Subversion user?

The idea here is that I have a bunch of files which most people will
download using a web browser, but I want them to be able to see which
version they have and from which URL they got it.

I've got Subversion running on Debian as an Apache module, which is fully
under my control so any suggestions will do...



Thanks in advance,

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: svn:keywords expansion on GET

Posted by "M. van Renswoude" <ma...@x2software.net>.
> Don't give them access via a direct link to the subversion repository.
> Rather, give the users access via a checked out copy of the files.

Excellent idea, thanks!


- Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn:keywords expansion on GET

Posted by John Peacock <jp...@rowman.com>.
M. van Renswoude wrote:
> The idea here is that I have a bunch of files which most people will
> download using a web browser, but I want them to be able to see which
> version they have and from which URL they got it.

Don't give them access via a direct link to the subversion repository.  Rather, 
give the users access via a checked out copy of the files.  Yes, it's another 
step, but you can automate it by updating the local (to the web server) WC as 
part of a postcommit script.

HTH

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org