[Digicool-CVS] CVS: CVSROOT - postcommit_actions:1.87
klm@serenade.digicool.com
klm@serenade.digicool.com
Wed, 30 May 2001 20:43:57 -0400
Update of /cvs-repository/CVSROOT
In directory serenade:/projects/users/klm/Operations/CVSROOT
Modified Files:
postcommit_actions
Log Message:
Use 're.match' instead of 're.search' to check for path matches, so we
don't match *anywhere* in the path!
--- Updated File postcommit_actions in package CVSROOT --
--- postcommit_actions 2001/03/07 20:09:12 1.86
+++ postcommit_actions 2001/05/31 00:43:56 1.87
@@ -299,9 +299,9 @@
if all:
is_match = 1
elif got_re:
- is_match = re.search(t['path'], repo)
+ is_match = re.match(t['path'], repo)
else:
- is_match = (regex.search(t['path'], repo) != -1)
+ is_match = (regex.match(t['path'], repo) != -1)
if is_match:
if not t.has_key('excludes'):
t['excludes'] = []