public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] significance of output from emerge -ep
@ 2002-10-01 13:00 Nicolas Kaiser
  2002-10-02  0:11 ` Stuart Bouyer
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Kaiser @ 2002-10-01 13:00 UTC (permalink / raw
  To: gentoo-dev

I'm having difficulties understanding why "emerge -ep" deprives me of
useful information about packages that are already installed, or in
different version.

Is there a special reason for --emptytree testing in this place?

TIA,
Nicolas


$ diff -u /usr/lib/portage/bin/emerge.orig /usr/lib/portage/bin/emerge
--- /usr/lib/portage/bin/emerge.orig    2002-10-01 14:22:44.000000000 +0200
+++ /usr/lib/portage/bin/emerge 2002-10-01 14:30:09.000000000 +0200
@@ -844,11 +844,9 @@
                        else:
                                if x[3]=="nomerge":
                                        continue
-                               #we need to use "--emptrytree" testing here rather than "empty" param testing because "empty"
-                               #param is used for -u, where you still *do* want to see when something is being upgraded.
-                               if (not "--emptytree" in myopts) and portage.db[x[1]]["vartree"].exists_specific(x[2]):
+                               if portage.db[x[1]]["vartree"].exists_specific(x[2]):
                                        addl="  "+yellow("R")+"  "
-                               elif (not "--emptytree" in myopts) and portage.db[x[1]]["vartree"].exists_specific_cat(x[2]):
+                               elif portage.db[x[1]]["vartree"].exists_specific_cat(x[2]):
                                        addl="   "+turquoise("U")+" "
                                else:
                                        addl=" "+green("N")+"   "




-- 
Registered Linux User #223623            http://counter.li.org
                                   http://freshmeat.net/~nikai
                                     http://sf.net/users/nikai
2:59pm  up  2:22, bogomips: 1389.36    War wieder spät gestern




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-02  9:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-01 13:00 [gentoo-dev] significance of output from emerge -ep Nicolas Kaiser
2002-10-02  0:11 ` Stuart Bouyer
2002-10-02  9:03   ` [gentoo-dev] " Nicolas Kaiser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox