svn: /web/php-rmtools/trunk/include/ Storage.php
| From: | Pierre Joye | Date: | Sat, 06 Mar 2010 21:06:53 +0000 |
| Subject: | svn: /web/php-rmtools/trunk/include/ Storage.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-7513@lists.php.net to get a copy of this message | ||
pajoye Sat, 06 Mar 2010 21:06:53 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=295903
Log:
- skip update when a branch is closed or released
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-03-06 21:06:21 UTC (rev 295902)
+++ web/php-rmtools/trunk/include/Storage.php 2010-03-06 21:06:53 UTC (rev 295903)
@@ -51,7 +51,10 @@
}
function updateRelease() {
-
+ if ($this->status == Base::STATUS_RELEASED
+ || $this->status == Base::STATUS_CLOSED) {
+ return FALSE;
+ }
$svn = new Svn;
$dev_last_revision = $svn->update($this->dev_branch);
if ($this->dev_branch != $this->release_branch) {