#!/bin/sh export LANG="ja_JP.UTF8" REPOS="$1" REV="$2" ${REPOS}/hooks/commit-email.rb "$REPOS" "$REV" #!/usr/bin/ruby -Ke require 'net/smtp' require 'kconv' REPOS=ARGV[0] REV=ARGV[1].to_i svnauthor=%x{svnlook author #{REPOS} -r #{REV} }.chomp svndate=%x{svnlook date #{REPOS} -r #{REV} }.chomp svnchanged=%x{svnlook changed #{REPOS} -r #{REV} }.chomp svnlog=%x{svnlook log #{REPOS} -r #{REV} }.chomp