Re: post-commit hook executed *only* if new tag committed?
From: John Peacock <john.peacock_at_havurah-software.org>
Date: 2007-12-16 02:35:37 CET
Eric White wrote:
I wrote this module specifically to do this:
http://search.cpan.org/search?query=SVN::Notify::Mirror
though you'll probably want to use this to make it easier:
http://search.cpan.org/search?query=SVN::Notify::Config
(which I didn't write originally, but which I have adopted).
Here is an example post-commit script which does what you want:
#!/usr/bin/perl -MSVN::Notify::Config=$0
Any commit to project/trunk (or below) gets mirrored to a test server (in this
John
---------------------------------------------------------------------
|
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.