gwynne          Mon, 13 Jul 2009 08:57:18 +0000

ViewVC URL: http://svn.php.net/viewvc?view=revision&revision=284001

Changed paths:
        U   SVNROOT/commit-email.php

Log:
fix commit emails handling

Modified: SVNROOT/commit-email.php
===================================================================
--- SVNROOT/commit-email.php    2009-07-13 08:39:13 UTC (rev 284000)
+++ SVNROOT/commit-email.php    2009-07-13 08:57:18 UTC (rev 284001)
@@ -55,7 +55,7 @@
        '|^phpdoc/no|' => array('doc...@lists.php.net'),
        '|^phpdoc/pl|' => array('doc...@lists.php.net'),
     '|^phpdoc/pt_BR|' => array('doc-pt...@lists.php.net'),
-       '|^phpdoc/pt(?!_BR)|' => array('doc...@lists.php.net'),
+       '|^phpdoc/pt|' => array('doc...@lists.php.net'),
        '|^phpdoc/ro|' => array('doc...@lists.php.net'),
        '|^phpdoc/ru|' => array('doc...@lists.php.net'),
        '|^phpdoc/sk|' => array('doc...@lists.php.net'),
@@ -71,10 +71,12 @@
     // PEAR
     '|^pear/pearbot|' => array('pear-...@lists.php.net'),
     '|^pear/peardoc/en/pecl|' => array('pear-...@lists.php.net', 
'doc-...@lists.php.net'),
+    '|^pear/pearweb|' => array('pear-...@lists.php.net', 
'pear-c...@lists.php.net'),
     '|^pear/peardoc|' => array('pear-...@lists.php.net'),
     '|^pear/pear-core|' => array('pear-...@lists.php.net', 
'pear-c...@lists.php.net'),
     '|^pear/packages/installphars|' => array('pear-c...@lists.php.net'),
     '|^pear/packages|' => array('pear-...@lists.php.net'),
+    '|^pear|' => array('pear-...@lists.php.net', 'pear-c...@lists.php.net'),

     // PECL
     '|^pecl|' => array('pecl-...@lists.php.net'),
@@ -126,6 +128,7 @@
     foreach ($commit_email_list as $regex => $email_list) {
         if (preg_match($regex, $changed_path, $matches) === 1) {
             $emails_to = array_merge($emails_to, $email_list);
+            break;
         }
     }
     if (substr_count($changed_path, '/') < substr_count($parent_path, '/')) {


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to