Ignore:
Timestamp:
Dec 27, 2009, 5:43:50 AM (13 years ago)
Author:
andersk
Message:
Update commit-email.pl and commit-zephyr from upstream.
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
    211
    3 CLASS=scripts
     12export LC_ALL=en_US.UTF-8
     13
     14CLASS=test
    415INSTANCE=@
    516FULL=0
     
    3950        echo svnlook diff "$REPOS" -r "$REV"
    4051    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.