On 3/7/06, chinmayareddy@gmail.com <chinmayareddy@gmail.com> wrote:
> Hi,
> Can anyone please tell me if Subversion supports server side scripting ?
>
> My requirements are
>
> *) if a source file has variables like $Revision $Author that should get
> replaced with commit version and author name. Something similar to what CVS
> supports
Use keywords for this. A commit script should not modify the contents
of a file being committed, because then the repository won't ever
match the developer's working copy.
http://svnbook.red-bean.com/en/1.0/ch07s02.html
> *) Assuming my developers are responsible and provide good logging
> information on every commit, I would like to consolidate for easy reference.
> Essentially on server side, on every commit, I would like to update one or
> more files in repository with current commit version, log text info etc.
Again, a commit script modifying the repository is generally a bad
idea unless you can separate very strongly the files being committed
from the second update that the script is doing.
The "server side scripting" you're looking for is a feature called
"hooks" and these are pretty well-documented in Subversion resources
such as The Book (http://svnbook.org/).
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 7 21:28:37 2006