svn: /SVNROOT/ pre-commit

From: Date: Tue, 24 Jan 2012 21:44:41 +0000
Subject: svn: /SVNROOT/ pre-commit
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-67529@lists.php.net to get a copy of this message
dsp Tue, 24 Jan 2012 21:44:41 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=322696 Log: Disable commits to archived again Changed paths: U SVNROOT/pre-commit Modified: SVNROOT/pre-commit =================================================================== --- SVNROOT/pre-commit 2012-01-24 21:40:01 UTC (rev 322695) +++ SVNROOT/pre-commit 2012-01-24 21:44:41 UTC (rev 322696) @@ -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 (#67529) next »