fix AuxfileFilter to ignore all files in svn or cvs dirs
authorMarius Mauch <genone@gentoo.org>
Sun, 26 Mar 2006 03:08:11 +0000 (03:08 -0000)
committerMarius Mauch <genone@gentoo.org>
Sun, 26 Mar 2006 03:08:11 +0000 (03:08 -0000)
svn path=/main/trunk/; revision=3011

pym/portage_manifest.py

index a9f521ef070541552ee885ee6b545400eb813deb..5208cde7ff93cc571110c90d3e7a4602b40c8051 100644 (file)
@@ -9,7 +9,7 @@ class FileNotInManifestException(PortageException):
 
 def manifest2AuxfileFilter(filename):
        filename = filename.strip(os.sep)
-       return not (filename in ["CVS", ".svn"] or filename.startswith("digest-"))
+       return not (filename in [".svn", "CVS"] or filename.startswith("CVS"+os.sep) or filename.startswith(".svn"+os.sep) or filename.startswith("digest-"))
 
 def manifest2MiscfileFilter(filename):
        filename = filename.strip(os.sep)