Revision
89659
Author
cal@macports.org
Date
2012-02-05 15:27:38 -0800 (Sun, 05 Feb 2012)

Log Message

rev-upgrade: Request more verbose output before suggesting to open a ticket

Hopefully this will keep me from building all the ports that fail...

Modified Paths

Diff

Modified: trunk/base/src/macports1.0/macports.tcl (89658 => 89659)


--- trunk/base/src/macports1.0/macports.tcl	2012-02-05 23:25:37 UTC (rev 89658)
+++ trunk/base/src/macports1.0/macports.tcl	2012-02-05 23:27:38 UTC (rev 89659)
@@ -4141,7 +4141,10 @@
             }
             incr broken_port_counts([$port name])
             if {$broken_port_counts([$port name]) > 3} {
-                ui_error "Port [$port name] is still broken after rebuiling it more than 3 times. You might want to file a bug for this."
+                ui_error "Port [$port name] is still broken after rebuiling it more than 3 times."
+                if {![macports::ui_isset ports_debug]} {
+                    ui_error "Please run port -d -y rev-upgrade and use the output to report a bug."
+                }
                 error "Port [$port name] still broken after rebuilding [expr $broken_port_counts([$port name]) - 1] time(s)"
             }
         }