dsp                                      Fri, 20 Jan 2012 21:53:04 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=322528

Log:
Disable commits to archived/ again

Changed paths:
    U   SVNROOT/pre-commit

Modified: SVNROOT/pre-commit
===================================================================
--- SVNROOT/pre-commit  2012-01-20 21:52:22 UTC (rev 322527)
+++ SVNROOT/pre-commit  2012-01-20 21:53:04 UTC (rev 322528)
@@ -34,9 +34,9 @@
 // 
-----------------------------------------------------------------------------------------------------------------------------
 // Check for denied commits
 foreach ($commit_info['changed_paths'] as $changed_path => $path_actions) {
-//   if (strncmp($changed_path, "archived/", strlen("archived/")) === 0) {
-//       fail("Commits to archived modules are not allowed.\n");
-//   }
+    if (strncmp($changed_path, "archived/", strlen("archived/")) === 0) {
+        fail("Commits to archived modules are not allowed.\n");
+    }

     foreach($migrated_repositories as $reponame) {
         if (strncmp($changed_path, $reponame, strlen($reponame)) === 0) {

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

Reply via email to