다른 누군가가 '어떤 플랫폼'이라고 말했습니까? Windows에서는 'blat'을 사용했습니다. blat은 사후 커밋과 다른 배치 파일과 함께 공짜 명령 줄 SMTP 메일러입니다.
게시물이 같은 모습을 커밋 :
이
copy d:\subversion\repos\RTS\hooks\Commitmsg.txt %temp%\commit.txt
copy d:\subversion\repos\RTS\hooks\subjbase.txt %temp%\subject.txt
svnlook info -r %2 %1 >> %temp%\commit.txt
echo Revision %2 >> %temp%\commit.txt
svnlook changed -r %2 %1 >> %temp%\commit.txt
svnlook author -r %2 %1 >> %temp%\subject.txt
c:\utils\blat %temp%\commit.txt -t <[email protected]> -sf %temp%\subject.txt -server ServerName -f "SVN Admin <[email protected]>" -noh2
SVN 후크를 작성에서 가장 큰 잡았다는 점이다
call d:\subversion\repos\rts\hooks\mail %1 %2
그리고 mail.bat이처럼 보였다 (그냥 다른 배치 파일을 호출) 기본적으로 환경 설정이 없을 수도 있습니다. EXE 경로 나 임시 경로 등은 없습니다. 아마도 최근의 SVN 빌드에서 개선되었을 수도 있지만.
링크입니다 (효과적으로) 파손 (가 일반 페이지로 리디렉션). –