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

Re: post-commit hook

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-08-16 18:13:15 CEST

On 16.08.2005, at 15:18, Jeff Lanzarotta wrote:

> I'm interested in putting together a post-commit hook that will copy
> the files that were commited to another directory.
> For example, I check in:
> \project\foo.bar
> \project\data\foo.dat
> I would like the script to copy the files to:
> \global_directory_for_all_to_see\project\foo.bar
> \global_directory_for_all_to_see\project\data\foo.bar
> Is there a way to do this?

Sure; this is done all the time. Basically you make
global_directory_for_all_to_see/project a working copy of $REPOSITORY/
project/trunk (assuming you're using the standard trunk/branches/tags
layout) and then your post-commit hook simply updates the working copy.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 16 18:16:33 2005

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.