Make repoman ignore deeply nested CVS directories and files they contain in order...
authorZac Medico <zmedico@gentoo.org>
Mon, 10 Apr 2006 07:44:14 +0000 (07:44 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 10 Apr 2006 07:44:14 +0000 (07:44 -0000)
svn path=/main/trunk/; revision=3115

bin/repoman

index d502d858948ed6bf640a98cdde68a82287a05eb2..a3cc64f0fd44e2523cf425d5f2569c2d59dc5955 100755 (executable)
@@ -880,6 +880,8 @@ for x in scanlist:
                                if y == "CVS":
                                        continue
                                for z in os.listdir(checkdir+"/files/"+y):
+                                       if z == "CVS":
+                                               continue
                                        filesdirlist.append(y+"/"+z)
                        # current policy is no files over 20k, this is the check.
                        elif mystat.st_size > 20480: