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

post-commit hook to copy revision changes

From: Kit Marshall <kit_at_crystalmoments.net>
Date: 2006-03-20 18:11:51 CET

I would like to use a post-commit hook to copy the changed files of
each revision over to my testing server. Since the post-commit
provides the revision it seems that you could pass that into "svnlook
changed" to get the list of changed files and then copy those from the
repository to a "live" copy.

Am I on the right track or is there an easier way to keep a "live" copy
of the HEAD of a repository in another directory? I know the
hot-backup could do this but doesn't that copy the entire repository
as opposed to what was just changed?

I'm running svn version 1.2.3 on Fedora 4 with Apache 2.0.54.

Thanks,

Kit Marshall

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 20 18:14:32 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.