the test : not (ignorecvs and (len(list[x])>=3) and (("/"+list[x][-3:])=="/CVS")) in portage.py:322 is buggy and will prevent all dirs ending in CVS to be scanned by listdir when the ignorecvs flag is true fix is to replace the test by: ignorecvs and os.path.basename(list[x])=="CVS" The same considerations apply for the next test against ".svn"
Created attachment 43349 [details, diff] fixes the bug, and function cleanup Here is a proposed patch that also cleans up the function: it should be faster and more readable the patch has been tested on a basic installation with emerge info emerge sync emerge world
Fixed on or before 2.0.51.22-r1
Looking through the batch of bugs, I'm not sure that some of these are actually fixed in stable. Others, the requirements have possibly changed after the initial fix was committed. If you think this bug has been closed incorrectly, please reopen or ask that it be reopened.