Changeset 1400 for trunk/locker/sbin/commit-zephyr
- Timestamp:
- Dec 27, 2009, 5:43:50 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/locker/sbin/commit-zephyr
r748 r1400 1 #!/bin/sh 1 #!/bin/bash 2 # 3 # This is a script that can be called from a Subversion post-commit hook 4 # to zephyr a summary of the commit or the full commit. 5 # 6 # Use by putting something like the following in hooks/post-commit: 7 # REPOS="$1" 8 # REV="$2" 9 # /mit/snippets/svn-hooks/commit-zephyr "$REPOS" "$REV" -c scripts 10 # /mit/snippets/svn-hooks/commit-zephyr "$REPOS" "$REV" --full -c scripts-auto -i commits 2 11 3 CLASS=scripts 12 export LC_ALL=en_US.UTF-8 13 14 CLASS=test 4 15 INSTANCE=@ 5 16 FULL=0 … … 39 50 echo svnlook diff "$REPOS" -r "$REV" 40 51 fi 41 ) | zwrite -d -c "$CLASS" -i "$INSTANCE" - s "r$REV - $dirs"52 ) | zwrite -d -c "$CLASS" -i "$INSTANCE" -O "auto" -s "SVN: r$REV"
Note: See TracChangeset
for help on using the changeset viewer.