#!/usr/bin/python
import sys
import os
repo = sys.argv[1]
txn = sys.argv[2]
svnlook = "/usr/bin/svnlook"
text = os.popen('%(svnlook)s log -t %(txn)s %(repo)s' \
% locals()).read()
if not text.strip():
sys.stderr.write("no commit message!!")
sys.exit(1)
0 件のコメント:
コメントを投稿