[126864] branches/release_2_3

jmr at macports.org jmr at macports.org
Thu Oct 16 11:16:24 PDT 2014


Revision: 126864
          https://trac.macports.org/changeset/126864
Author:   jmr at macports.org
Date:     2014-10-16 11:16:23 -0700 (Thu, 16 Oct 2014)
Log Message:
-----------
merge r125621 from trunk:
 print a warning when ports passed to the list action specify a version (this includes pseudo-portnames that refer to installed ports)

Revision Links:
--------------
    https://trac.macports.org/changeset/125621

Modified Paths:
--------------
    branches/release_2_3/base/src/port/port.tcl

Property Changed:
----------------
    branches/release_2_3/
    branches/release_2_3/base/


Property changes on: branches/release_2_3
___________________________________________________________________
Modified: svn:mergeinfo
   - /trunk:118056,118085,118161,118640,118735,119034,119204,119297,120127,120132,120142,120345,120637,121311,121364,121451,123652,125578,125859
   + /trunk:118056,118085,118161,118640,118735,119034,119204,119297,120127,120132,120142,120345,120637,121311,121364,121451,123652,125578,125621,125859


Property changes on: branches/release_2_3/base
___________________________________________________________________
Modified: svn:mergeinfo
   - /branches/gsoc08-privileges/base:37343-46937
/branches/gsoc09-logging/base:51231-60371
/branches/gsoc11-rev-upgrade/base:78828-88375
/branches/gsoc11-statistics/base:79520,79666
/branches/gsoc13-tests:106692-111324
/branches/universal-sanity/base:51872-52323
/branches/variant-descs-14482/base:34469-34855,34900-37508,37511-37512,41040-41463,42575-42626,42640-42659
/trunk/base:118038-118039,118056,118085,118161,118559,118562-118569,118598-118599,118602-118603,118606-118607,118640,118735,119034,119169,119171,119175,119204,119297,119987,119992,120036,120038,120059-120060,120064,120067-120069,120074,120076,120127,120132,120142,120345,120382,120637,121311,121364,121451,121485,123652,125578,125859
/users/perry/base-bugs_and_notes:45682-46060
/users/perry/base-select:44044-44692
   + /branches/gsoc08-privileges/base:37343-46937
/branches/gsoc09-logging/base:51231-60371
/branches/gsoc11-rev-upgrade/base:78828-88375
/branches/gsoc11-statistics/base:79520,79666
/branches/gsoc13-tests:106692-111324
/branches/universal-sanity/base:51872-52323
/branches/variant-descs-14482/base:34469-34855,34900-37508,37511-37512,41040-41463,42575-42626,42640-42659
/trunk/base:118038-118039,118056,118085,118161,118559,118562-118569,118598-118599,118602-118603,118606-118607,118640,118735,119034,119169,119171,119175,119204,119297,119987,119992,120036,120038,120059-120060,120064,120067-120069,120074,120076,120127,120132,120142,120345,120382,120637,121311,121364,121451,121485,123652,125578,125621,125859
/users/perry/base-bugs_and_notes:45682-46060
/users/perry/base-select:44044-44692

Modified: branches/release_2_3/base/src/port/port.tcl
===================================================================
--- branches/release_2_3/base/src/port/port.tcl	2014-10-16 18:13:52 UTC (rev 126863)
+++ branches/release_2_3/base/src/port/port.tcl	2014-10-16 18:16:23 UTC (rev 126864)
@@ -3769,6 +3769,10 @@
                 break_softcontinue "listing all ports failed: $result" 1 status
             }
         } else {
+            if {$portversion ne "" && ![info exists warned_for_version]} {
+                ui_warn "The 'list' action only shows the currently available version of each port. To see installed versions, use the 'installed' action."
+                set warned_for_version 1
+            }
             set search_string [regex_pat_sanitize $portname]
             if {[catch {set res [mportsearch ^$search_string\$ no]} result]} {
                 global errorInfo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141016/b259b9d1/attachment.html>


More information about the macports-changes mailing list