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

Post-commit hook tutorials?

From: Robert Denton <robert_at_headsprout.com>
Date: Thu, 28 Feb 2008 14:07:34 -0800

Hi all,

I currently have a very simple, yet working post-commit hook on my linux based SVN server that does nothing but call a svnsync shell script (mirroring the server). However I now need to find ways of doing other, slightly more complex things in the PCH. So my question would be this:

Where online are the best post commit hoot script tutorials? I am looking for guides that will illustrate what variables can be referenced and that sort of thing (I know according to the nightly manual build 2 args are passed to post commit: http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.ref.reposhooks), show lots of example scripts, etc.

What I specifically need to do is this:

If any file is committed in a specific SVN directory, copy that file to a windows file server via UNC (or any other means). Any suggestions would be great. Thanks!

Robert
Received on 2008-02-28 23:08:06 CET

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.