svn: /SVNROOT/ pre-commit

From: Date: Fri, 20 Jan 2012 21:53:04 +0000
Subject: svn: /SVNROOT/ pre-commit
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-67498@lists.php.net to get a copy of this message
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) {

« previous php.cvs (#67498) next »