<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/9c8da9d61008249ea51e130d7ea02cb2177799ad">https://github.com/macports/macports-base/commit/9c8da9d61008249ea51e130d7ea02cb2177799ad</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 9c8da9d61 Always reload quick index after sync
</span>9c8da9d61 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 9c8da9d61008249ea51e130d7ea02cb2177799ad
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Mon Jan 23 18:30:59 2023 +1100
<span style='display:block; white-space:pre;color:#404040;'> Always reload quick index after sync
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> This fixes issues when other actions are run after the sync in the same
</span><span style='display:block; white-space:pre;color:#404040;'> port(1) invocation. There was a check for batch or shell mode before,
</span><span style='display:block; white-space:pre;color:#404040;'> but there are other ways another action can run. One commonly seen by
</span><span style='display:block; white-space:pre;color:#404040;'> users was reclaim_check_and_run happening automatically.
</span>---
src/macports1.0/macports.tcl | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/macports1.0/macports.tcl b/src/macports1.0/macports.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 4cb9cf25a..4101b343d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/macports1.0/macports.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/macports1.0/macports.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3084,10 +3084,10 @@ proc mportsync {{optionslist {}}} {
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # refresh the quick index if necessary (batch or shell mode run)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[info exists macports::ui_options(ports_commandfiles)]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- _mports_load_quickindex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Aways refresh the quick index - in addition to batch or shell
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # mode, it's possible to run multiple actions like:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # port sync \; upgrade outdated
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _mports_load_quickindex
</span>
if {$numfailed == 1} {
return -code error "Synchronization of 1 source failed"
</pre><pre style='margin:0'>
</pre>