Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 92675 Details for
Bug 126748
merge order does not correctly account for all dependencies
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add more dependencies to the digraph
more_complete_digraph.patch (text/plain), 1.17 KB, created by
Zac Medico
on 2006-07-24 20:28:32 UTC
(
hide
)
Description:
add more dependencies to the digraph
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2006-07-24 20:28:32 UTC
Size:
1.17 KB
patch
obsolete
>Index: pym/portage.py >=================================================================== >--- pym/portage.py (revision 4018) >+++ pym/portage.py (revision 4019) >@@ -318,6 +318,10 @@ > self.okeys=[] > > def addnode(self,mykey,myparent): >+ if mykey == myparent: >+ # Refuse to make a node depend on itself so that the caller doesn't >+ # accidentally create a bogus circular dependency. >+ myparent = None > if not self.dict.has_key(mykey): > self.okeys.append(mykey) > if myparent is None: >Index: bin/emerge >=================================================================== >--- bin/emerge (revision 4018) >+++ bin/emerge (revision 4019) >@@ -689,10 +689,14 @@ > #"no downgrade" emerge > """ > >- jbigkey=string.join(mybigkey) >- # Prevent cycles where packages are already in the digraph >- if self.digraph.hasnode(jbigkey+" merge") or self.digraph.hasnode(jbigkey+" nomerge"): >+ jbigkey = " ".join(mybigkey) + " merge" >+ if self.digraph.hasnode(jbigkey): >+ if addme: >+ self.digraph.addnode(jbigkey, myparent) > return 1 >+ jbigkey = " ".join(mybigkey) + " nomerge" >+ if self.digraph.hasnode(jbigkey): >+ return 1 > > self.spinner.update() > mytype,myroot,mykey=mybigkey
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 126748
:
82509
| 92675