Problem with python + hook
From: Robert Dailey <rcdailey_at_gmail.com>
Date: Sun, 24 Aug 2008 16:33:25 -0500
I'm trying to create a post-commit hook using python, but it isn't
#!/usr/bin/python
#REPOS="$1"
#commit-email.pl "$REPOS" "$REV" commit-watchers_at_example.org
#svn update --non-interactive /srv/http/website
import sys
REPOS = sys.argv[1]
print "This is a test"
call( "svn", "update", "--non-interactive", "/srv/http/website" )
---------------------------------------------------------------------
|
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.