Subversion pre-commit hook script
From: Jacques Marneweck <jacques_at_powertrip.co.za>
Date: 2005-05-27 16:15:29 CEST
Hi,
I've quickly hacked together a pre-commit script using python as I was
Regards
-- Jacques Marneweck http://www.powertrip.co.za/blog/
#!/usr/local/bin/python
Based on http://svn.collab.net/repos/svn/branches/1.2.x/contrib/hook-scripts/commit-block-joke.py
Hacked together by Jacques Marneweck <jacques@php.net>
$Id$
import sys, os, string
SVNLOOK='/usr/local/bin/svnlook'
def main(repos, txn):
if len(log_msg) < 10:
if __name__ == '__main__':
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.