svn: /web/php-rmtools/trunk/include/ Storage.php
| From: | Pierre Joye | Date: | Tue, 12 Jan 2010 15:19:32 +0000 |
| Subject: | svn: /web/php-rmtools/trunk/include/ Storage.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-6979@lists.php.net to get a copy of this message | ||
pajoye Tue, 12 Jan 2010 15:19:32 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=293450
Log:
- don't try to generate a log when release and dev branches are the same
Changed paths:
U web/php-rmtools/trunk/include/Storage.php
Modified: web/php-rmtools/trunk/include/Storage.php
===================================================================
--- web/php-rmtools/trunk/include/Storage.php 2010-01-12 15:01:33 UTC (rev 293449)
+++ web/php-rmtools/trunk/include/Storage.php 2010-01-12 15:19:32 UTC (rev 293450)
@@ -54,6 +54,10 @@
$svn = new Svn;
$svn->update($this->dev_branch);
+
+ if ($this->dev_branch == $this->release_branch) {
+ return TRUE;
+ }
$logxml = $svn->fetchLogFromBranch($this->dev_branch, $this->first_revision);
if (!$logxml) {
@@ -90,6 +94,7 @@
$this->base->setLatestRevisionForRelease($this->release['name'],
$this->release['last_revision']);
$this->release['last_update'] = date(DATE_RFC822);
$this->base->setLastUpdateForRelease($this->release['name'],
$this->release['last_update']);
+ return TRUE;
}
function createSnapshot($filename = FALSE, $force = FALSE) {