Merged from trunk 4768:4769
authorFabian Groffen <grobian@gentoo.org>
Fri, 20 Oct 2006 21:31:26 +0000 (21:31 -0000)
committerFabian Groffen <grobian@gentoo.org>
Fri, 20 Oct 2006 21:31:26 +0000 (21:31 -0000)
We there is a circular deps panic in reversed mode, do the circular deps
output without reversed mode since it should reduce the noise level.

svn path=/main/branches/prefix/; revision=4770

bin/emerge

index 5e75ae6bf21906c58007343e51c86a797480fc32..fc0138082a479376a996124980adcb9eb91c6106 100755 (executable)
@@ -1529,6 +1529,10 @@ class depgraph:
                                                selected_nodes = [blocker_deps.pop()]
 
                        if not selected_nodes:
+                               if reversed:
+                                       """The circular deps ouput should have less noise when
+                                       altlist is not in reversed mode."""
+                                       self.altlist()
                                print "!!! Error: circular dependencies:"
                                print
                                mygraph.debug_print()