[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: After svn up

From: Gary Feldman <svnul4228_at_marsdome.com>
Date: 2006-01-10 00:22:25 CET

Albert Shih wrote:
> Hi all
> How can I run automaticly a script after svn up ?
> Let me explain, I've many (well > 2) commiter for a web site.
> Each commiter commit from different computer. After that he launch on the
> web-server the svn up command.
> But I want after the svn up command there launch some script (like chown -R www:www *)
> How can I do that ?

Client side scripts aren't available, though they've been talked about.

Personally, I think your best bet is to write your own script that does both the
update and the chown (or whatever), and just let your users run that. It has
the major advantage that once you've trained them to do it this way, you'll
never have to retrain them if the configuration changes, or you switch to a
different version control system, etc.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 10 01:04:49 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.