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

Re: post-commit question

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-05-26 20:53:23 CEST

On Wed, 2004-05-26 at 11:07, Jeroen Coumans wrote:
> Hi,
>
> Our company sells customized Mambo code. We import data from the latest
> stable release to /trunk/ and use /branches/client/ for our own
> customizions. I'd like to use a post-commit hook which checks which
> branch the commit is made (eg. /branches/client1/) and checks out that
> branch to a specific directory.
> Eg. if some commits to /branches/client1/, the post-commit script would
> export /branches/client1/ to /www/client1/
>
> Is this possible? Thanks for any answers.

Of course it's possible. Have your post-commit script use 'svnlook' to
examine the commit that just happened, and act accordingly.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 26 20:57:31 2004

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.