cvs: SVNROOT / commit-email.php post-commit svn_switch

From: Date: Thu, 09 Jul 2009 19:16:39 +0000
Subject: cvs: SVNROOT / commit-email.php post-commit svn_switch
Groups: svn.migration 
Request: Send a blank email to svn-migration+get-408@lists.php.net to get a copy of this message
gwynne Thu Jul 9 19:16:39 2009 UTC Removed files: /SVNROOT svn_switch Modified files: /SVNROOT commit-email.php post-commit Log: no need for that pointless switch http://cvs.php.net/viewvc.cgi/SVNROOT/commit-email.php?r1=1.19&r2=1.20&diff_format=u Index: SVNROOT/commit-email.php diff -u SVNROOT/commit-email.php:1.19 SVNROOT/commit-email.php:1.20 --- SVNROOT/commit-email.php:1.19 Thu Jul 9 19:13:38 2009 +++ SVNROOT/commit-email.php Thu Jul 9 19:16:38 2009 @@ -7,7 +7,7 @@ // ----------------------------------------------------------------------------------------------------------------------------- // Constants -$version = substr('$Revision: 1.19 $', strlen('$Revision: '), -2); +$version = substr('$Revision: 1.20 $', strlen('$Revision: '), -2); $smtp_server = '127.0.0.1'; $commit_email_list = array( // FastCGI ISAPI @@ -144,9 +144,6 @@ // ----------------------------------------------------------------------------------------------------------------------------- // Build e-mail $subject = "svn: {$parent_path}"; -if (!$has_svn_switched) { - $subject = "[TESTING] - {$subject}"; -} $msg_headers = "From: {$from}\n" . "To: " . implode(', ', $emails_to) . "\n" . http://cvs.php.net/viewvc.cgi/SVNROOT/post-commit?r1=1.7&r2=1.8&diff_format=u Index: SVNROOT/post-commit diff -u SVNROOT/post-commit:1.7 SVNROOT/post-commit:1.8 --- SVNROOT/post-commit:1.7 Thu Jul 9 19:13:38 2009 +++ SVNROOT/post-commit Thu Jul 9 19:16:38 2009 @@ -15,7 +15,7 @@ // ----------------------------------------------------------------------------------------------------------------------------- // Constants -$version = substr('$Revision: 1.7 $', strlen('$Revision: '), -2); +$version = substr('$Revision: 1.8 $', strlen('$Revision: '), -2); // ----------------------------------------------------------------------------------------------------------------------------- // Version check @@ -32,9 +32,6 @@ $REV = $argv[2]; // ----------------------------------------------------------------------------------------------------------------------------- -$has_svn_switched = intval(file_get_contents(dirname(__FILE__) . '/svn_switch')) ? TRUE : FALSE; - -// ----------------------------------------------------------------------------------------------------------------------------- // Utility function run_svnlook($command) {

« previous svn.migration (#408) next »