[101225] trunk/base/src/port/port.tcl
raimue at macports.org
raimue at macports.org
Sun Jan 6 06:38:41 PST 2013
Revision: 101225
https://trac.macports.org/changeset/101225
Author: raimue at macports.org
Date: 2013-01-06 06:38:40 -0800 (Sun, 06 Jan 2013)
Log Message:
-----------
port/port.tcl:
Show version/revision in info output in format used everywhere else.
Add port revision to output of search command.
Modified Paths:
--------------
trunk/base/src/port/port.tcl
Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl 2013-01-06 14:16:15 UTC (rev 101224)
+++ trunk/base/src/port/port.tcl 2013-01-06 14:38:40 UTC (rev 101225)
@@ -2139,7 +2139,7 @@
set inf "$portinfo(name) @$portinfo(version)"
set ropt "heading"
if {[info exists portinfo(revision)] && $portinfo(revision) > 0} {
- append inf ", Revision $portinfo(revision)"
+ append inf "_$portinfo(revision)"
}
if {[info exists portinfo(categories)]} {
append inf " ([join $portinfo(categories) ", "])"
@@ -3623,6 +3623,9 @@
puts -nonewline $joiner
puts -nonewline "$portinfo(name) @$portinfo(version)"
+ if {[info exists portinfo(revision)] && $portinfo(revision) > 0} {
+ puts -nonewline "_$portinfo(revision)"
+ }
if {[info exists portinfo(categories)]} {
puts -nonewline " ([join $portinfo(categories) ", "])"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130106/fcb6e239/attachment.html>
More information about the macports-changes
mailing list