[96231] trunk/base/src/macports1.0/macports.tcl
Ryan Schmidt
ryandesign at macports.org
Sun Aug 5 14:27:28 PDT 2012
On Aug 5, 2012, at 07:50, raimue at macports.org wrote:
> Revision: 96231
> https://trac.macports.org/changeset/96231
> Author: raimue at macports.org
> Date: 2012-08-05 05:50:19 -0700 (Sun, 05 Aug 2012)
> Log Message:
> -----------
> Followup after r96213, slight message rewording and suggest only a single
> command to avoid confusion. Switching to quote style used in other places.
>
> Revision Links:
> --------------
> https://trac.macports.org/changeset/96213
>
> Modified Paths:
> --------------
> trunk/base/src/macports1.0/macports.tcl
>
> Modified: trunk/base/src/macports1.0/macports.tcl
> ===================================================================
> --- trunk/base/src/macports1.0/macports.tcl 2012-08-05 11:16:25 UTC (rev 96230)
> +++ trunk/base/src/macports1.0/macports.tcl 2012-08-05 12:50:19 UTC (rev 96231)
> @@ -1143,7 +1143,7 @@
> if {[macports::getprotocol $default_source_url] == "file" || [macports::getprotocol $default_source_url] == "rsync"} {
> set default_portindex [macports::getindex $default_source_url]
> if {[file exists $default_portindex] && [expr [clock seconds] - [file mtime $default_portindex]] > 1209600} {
> - ui_warn "port definitions are more than two weeks old, consider using selfupdate"
> + ui_warn "port definitions are more than two weeks old, consider updating them by running `port selfupdate`."
> }
> }
> }
Well but here you're using backquotes around the command
> @@ -2578,7 +2578,7 @@
> }
> }
> if {!$found} {
> - return -code error "No index(es) found! Have you synced your source indexes? Try running `port selfupdate` or `port sync`."
> + return -code error "No index(es) found! Have you synced your port definitions? Try running 'port selfupdate'."
> }
>
> return $matches
> @@ -2735,7 +2735,7 @@
> }
> }
> if {!$found} {
> - return -code error "No index(es) found! Have you synced your source indexes? Try running `port selfupdate` or `port sync`."
> + return -code error "No index(es) found! Have you synced your port definitions? Try running 'port selfupdate'."
> }
>
> return $matches
> @@ -2783,7 +2783,7 @@
> incr sourceno 1
> }
> if {!$sourceno} {
> - ui_warn "No index(es) found! Have you synced your source indexes? Try running `port selfupdate` or `port sync`."
> + ui_warn "No index(es) found! Have you synced your port definitions? Try running 'port selfupdate'."
> }
> }
And here you're using quotes. Which do we want?
More information about the macports-dev
mailing list