svn: /SVNROOT/ post-commit start-commit

From: Date: Sun, 07 May 2017 07:36:47 +0000
Subject: svn: /SVNROOT/ post-commit start-commit
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-98271@lists.php.net to get a copy of this message
rasmus Sun, 07 May 2017 07:36:47 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=342460 Log: Fix svn hooks Changed paths: U SVNROOT/post-commit U SVNROOT/start-commit Modified: SVNROOT/post-commit =================================================================== --- SVNROOT/post-commit 2017-05-07 07:35:24 UTC (rev 342459) +++ SVNROOT/post-commit 2017-05-07 07:36:47 UTC (rev 342460) @@ -7,8 +7,8 @@ // ----------------------------------------------------------------------------------------------------------------------------- // Arguments -if ($argc !== 3) { - fail("Pass exactly two arguments: REPOS and REV.\n"); +if ($argc < 3) { + fail("Pass at least two arguments: REPOS and REV.\n"); } $REPOS = $argv[1]; $REV = $argv[2]; Modified: SVNROOT/start-commit =================================================================== --- SVNROOT/start-commit 2017-05-07 07:35:24 UTC (rev 342459) +++ SVNROOT/start-commit 2017-05-07 07:36:47 UTC (rev 342460) @@ -7,8 +7,8 @@ // ----------------------------------------------------------------------------------------------------------------------------- // Arguments -if ($argc != 4) { - fail("Pass exactly three arguments: REPOS, USER, and CAPABILITIES.\n"); +if ($argc < 4) { + fail("Pass at least three arguments: REPOS, USER, and CAPABILITIES.\n"); } $REPOS = $argv[1]; $USER = $argv[2];

« previous php.cvs (#98271) next »