<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch release-2.10
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/9e7cd85509b032dca502722bb67712baa99c550a">https://github.com/macports/macports-base/commit/9e7cd85509b032dca502722bb67712baa99c550a</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 9e7cd85509b032dca502722bb67712baa99c550a
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Tue Jul 23 09:26:24 2024 +1000
<span style='display:block; white-space:pre;color:#404040;'> restore: improve failure reporting messages
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> (cherry picked from commit 1571aa508e9045284b0550ec93fd9ffdb717f035)
</span>---
src/macports1.0/restore.tcl | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/macports1.0/restore.tcl b/src/macports1.0/restore.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 6e474b465..90c07b439 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/macports1.0/restore.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/macports1.0/restore.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -159,7 +159,7 @@ namespace eval restore {
</span> append note " Skipped because its $reason\n"
}
failed {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- append note " Failed to build: $reason\n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ append note " Failed: $reason\n"
</span> }
}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -686,9 +686,9 @@ namespace eval restore {
</span> foreach target [list clean $install_target] {
if {[catch {set result [mportexec $mport $target]} result]} {
ui_msg $::errorInfo
<span style='display:block; white-space:pre;background:#ffe0e0;'>- _handle_failure failed $dependencies $name "Unable to execute target $target for port $name: $result"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _handle_failure failed $dependencies $name "Unable to execute target '$target' for port $name: $result"
</span> } elseif {$result != 0} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- _handle_failure failed $dependencies $name "Failed to $target $name"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _handle_failure failed $dependencies $name "Unable to execute target '$target' for port $name - see its log for details"
</span> }
}
mportclose $mport
</pre><pre style='margin:0'>
</pre>