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

post-commit without diffs

From: Anne Hammond <hammond_at_txcorp.com>
Date: 2007-02-20 23:19:22 CET

When commits are issued, the diffs are emailed to all the
members of the mailman list. (see post-commit hook below)

Is it possible, for commits with many differences, to exclude
the diffs? Or does --with-diffs specify that all the differences
should be included in the email?

Thanks in advance,
Anne

[hammond@fusion hooks]$ more post-commit
#!/bin/sh

REPOS="$1"
REV="$2"
PATH=/usr/bin:/bin
PROJECT=gsimf

svnnotify --repos-path "$REPOS" \
           --revision "$REV" \
           --svnlook /usr/bin/svnlook \
           --to $PROJECT-no-reply@fusion.xxcorp.com \
           --from $PROJECT-no-reply@fusion.txcorp.com \
           --with-diff --subject-cx

Anne M. Hammond - Systems / Network Administration - Tech-X Corp
                   hammond_at_txcorp.com 720-974-1840

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 20 23:19:44 2007

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.