]> sipb.mit.edu Git - snippets/.git/blobdiff - svn-hooks/commit-zephyr
commit-zephyr, zephyr-post-revprop-change: Run in UTF-8 locale.
[snippets/.git] / svn-hooks / commit-zephyr
index ca882667156c4b90934172c2006ee04408a52bcf..c0b48d7cf542b75272b0a5147fefbd63f3843ebe 100755 (executable)
@@ -1,4 +1,15 @@
 #!/bin/bash
+#
+# This is a script that can be called from a Subversion post-commit hook
+# to zephyr a summary of the commit or the full commit.
+#
+# Use by putting something like the following in hooks/post-commit:
+# REPOS="$1"
+# REV="$2"
+# /mit/snippets/svn-hooks/commit-zephyr "$REPOS" "$REV" -c scripts
+# /mit/snippets/svn-hooks/commit-zephyr "$REPOS" "$REV" --full -c scripts-auto -i commits
+
+export LC_ALL=en_US.UTF-8
 
 CLASS=test
 INSTANCE=@