Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 307633 Details for
Bug 386901
sys-aps/portage Add counter for unmerges
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[PATCH] New patch
portage.patch (text/plain), 930 bytes, created by
Boris Minev
on 2012-04-03 17:11:12 UTC
(
hide
)
Description:
[PATCH] New patch
Filename:
MIME Type:
Creator:
Boris Minev
Created:
2012-04-03 17:11:12 UTC
Size:
930 bytes
patch
obsolete
>diff -urN portage/pym/_emerge/unmerge.py portage.patched/pym/_emerge/unmerge.py >--- portage/pym/_emerge/unmerge.py 2012-04-03 18:58:59.000000000 +0300 >+++ portage.patched/pym/_emerge/unmerge.py 2012-04-03 19:07:41.000000000 +0300 >@@ -542,10 +542,19 @@ > if clean_delay and not autoclean: > countdown(int(settings["CLEAN_DELAY"]), ">>> Unmerging") > >+ # Set counter variables >+ curval, maxval = 1, len(unmerge_files) >+ > for x in range(len(pkgmap)): > for y in pkgmap[x]["selected"]: >- writemsg_level(">>> Unmerging "+y+"...\n", noiselevel=-1) >+ message = ">>> Unmerging ({0} of {1}) {2}...\n".format( >+ colorize("MERGE_LIST_PROGRESS", str(curval)), >+ colorize("MERGE_LIST_PROGRESS", str(maxval)), >+ y) >+ writemsg_level(message, noiselevel=-1) > emergelog(xterm_titles, "=== Unmerging... ("+y+")") >+ curval += 1 >+ > mysplit = y.split("/") > #unmerge... > retval = portage.unmerge(mysplit[0], mysplit[1],
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 386901
:
307631
| 307633