Prune really uses all installed instead of world. It's not a real reverse dependency...
authorZac Medico <zmedico@gentoo.org>
Sat, 21 Jul 2007 09:31:49 +0000 (09:31 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 21 Jul 2007 09:31:49 +0000 (09:31 -0000)
svn path=/main/branches/2.1.2/; revision=7335

bin/emerge

index 5b8df38080d394938b21bddcb12df7108c7b7a9c..881923e94d97636734e026d06e201048489b3d87 100755 (executable)
@@ -5490,6 +5490,9 @@ def action_depclean(settings, trees, ldpath_mtimes,
                                elif "--verbose" in myopts:
                                        show_parents(pkg)
        elif action == "prune":
+               # Prune really uses all installed instead of world.  It's not a real
+               # reverse dependency so don't display it as such.
+               graph.remove("world")
                for atom in args_set:
                        for pkg in vardb.match(atom):
                                if not fakedb.cpv_exists(pkg):