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

Re: SVN Test Project Questions

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-10-16 06:07:42 CEST

Barry Roberts <manithree@crosswinds.net> writes:

> I don't mind if this requires an extra step such as
> tagging/branching/svn copying, but it would be nice if the hook script
> could automatically recognize the action and check out the latest
> production-ready version into the production directory.

Perhaps you can add some custom 'properties' to your tags. Your
post-commit script can use the 'svnlook' program to see exactly what
changed in the commit. If the commit created a new tag (in the /tags/
dir, or whatever you like), look for a custom property on the new tag
directory. If present, do a production check-out.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 16 06:10:21 2003

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.