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) {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php