svn: /web/php-rmtools/trunk/include/ Svn.php
| From: | Pierre Joye | Date: | Tue, 16 Nov 2010 11:44:02 +0000 |
| Subject: | svn: /web/php-rmtools/trunk/include/ Svn.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-9438@lists.php.net to get a copy of this message | ||
pajoye Tue, 16 Nov 2010 11:44:02 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=305407
Log:
- remove debug code
Changed paths:
U web/php-rmtools/trunk/include/Svn.php
Modified: web/php-rmtools/trunk/include/Svn.php
===================================================================
--- web/php-rmtools/trunk/include/Svn.php 2010-11-16 11:42:26 UTC (rev 305406)
+++ web/php-rmtools/trunk/include/Svn.php 2010-11-16 11:44:02 UTC (rev 305407)
@@ -24,7 +24,6 @@
$log_xml = stream_get_contents($pipes[1]);
fclose($pipes[1]);
proc_close($process);
-file_put_contents('/home/pierre/t.xml', $log_xml);
$sx = new \SimpleXMLElement($log_xml);
if (!$sx) {
throw new \Exception('svn log failed ' . $path);
@@ -66,7 +65,6 @@
if (!$sx) {
throw new \Exception('svn log failed ' . $path);
}
-var_dump($sx->entry[0]->commit['revision']);
$revision = (int)$sx->entry[0]->commit['revision'];
if (!$revision) {
throw new \Exception('svn log failed, invalid revision ' . $revision . ' in
' . $path);