Re: Post-commit hook recipes?
From: Peter Ruprecht <ruprech_at_jilau1.colorado.edu>
Date: Fri, 22 Jan 2010 08:42:05 -0700
> I've been looking for a collection of example post-commit hook scripts
Thanks everyone for your suggestions and input. In case it may help
-------------------------------
#!/bin/bash
REPOS="$1"
ADDRFILE="${REPOS}/conf/addresses"
# find the number of the previous revision
# find the author of the previous revision
# find previous author's email address
# find files changed in current commit
# get project name
# mail this info to previous committer
|
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.