Add back the --depclean warning about "link level dependencies" since the
authorZac Medico <zmedico@gentoo.org>
Mon, 24 Nov 2008 02:20:49 +0000 (02:20 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 24 Nov 2008 02:20:49 +0000 (02:20 -0000)
2.1.6 branch doesn't have lib awareness.

svn path=/main/branches/2.1.6/; revision=12074

pym/_emerge/__init__.py

index ff24576b24e950279d29f6aa27e6f9cfcc6620fa..9e0867197103b29810546c7ce4b10b0586e92a32 100644 (file)
@@ -12088,6 +12088,10 @@ def action_depclean(settings, trees, ldpath_mtimes,
        allow_missing_deps = len(myfiles) > 0
 
        msg = []
+       msg.append("Depclean may break link level dependencies.  Thus, it is\n")
+       msg.append("recommended to use a tool such as " + good("`revdep-rebuild`") + " (from\n")
+       msg.append("app-portage/gentoolkit) in order to detect such breakage.\n")
+       msg.append("\n")
        msg.append("Always study the list of packages to be cleaned for any obvious\n")
        msg.append("mistakes. Packages that are part of the world set will always\n")
        msg.append("be kept.  They can be manually added to this set with\n")