gwynne Wed, 29 Jul 2009 17:09:15 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=286524
Log: Disable checks for commits to tags/. It was a good idea, but there are too many cases where it would be legit and not enough cases of the protection being needed. Changed paths: U SVNROOT/pre-commit Modified: SVNROOT/pre-commit =================================================================== --- SVNROOT/pre-commit 2009-07-29 16:52:16 UTC (rev 286523) +++ SVNROOT/pre-commit 2009-07-29 17:09:15 UTC (rev 286524) @@ -34,6 +34,9 @@ if (strncmp($changed_path, "archived/", strlen("archived/")) === 0) { fail("Commits to archived modules are not allowed.\n"); } + +/* Tags checks disabled. Too many special cases, not enough people making this + mistake to make the extra work worth it. // path contains "/tags/" if (($tags_loc = strpos($changed_path, '/tags/')) !== FALSE) { @@ -67,7 +70,7 @@ fail("Committing to a tag is not allowed.\n"); } } - +*/ } // -----------------------------------------------------------------------------------------------------------------------------
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php