[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[svn 1.3.0] post-commit can not running?

From: Zoom Quiet <zoom.quiet_at_gmail.com>
Date: 2006-01-08 12:33:24 CET

i'm chinese Python developer, usage SVN in us team.
upgrade svn 1.3.0 just now. but the post-commit can not running?!
this is my way:
creat SVN repo::
svnadmin create --fs-type fsfs /usr/local/svnrepos/pyblosxom
running svnserver::
svnserve -d -r /usr/local/svnrepos/pyblosxom
so so edit /usr/local/svnrepos/pyblosxom/hooks/post-commit
just open one line::"""
#log-commit.py --repository "$REPOS" --revision "$REV"
post-commit.py "$REPOS" "$REV"
in post-commit.py just want to see what import by SVN:"""
import sys,os,time
def usage():
    print "Usage: " + sys.argv[0] + " REPOS REV\n"
if __name__ == '__main__':
    exp = "%s"%time.strftime("%y-%m-%d %H:%M:%S", time.localtime())
    exp+= str(sys.argv)
    exp+= "\t\n"
    if len(sys.argv) != 3:
straight try:
# python post-commit.py "/path/some" "2323"
is work good;
but when i svn ci anything into repo.nothing happen!
that post-commit.log can not recoder onthing,
i think that post-commit not call....
i want to usage post-commit to ctrl. auto export some code to some dir
for suto build,
so so what suggest?

thanx for all!

# Time is unimportant, only life important!
## 面朝开源,我心自由!
Received on Sun Jan 8 12:35:01 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.