ooo-build r13220 - trunk/scratch/rcsutil



Author: michael
Date: Tue Jul 15 14:16:49 2008
New Revision: 13220
URL: http://svn.gnome.org/viewvc/ooo-build?rev=13220&view=rev

Log:
continue the right loop ...


Modified:
   trunk/scratch/rcsutil/parse_rcs.py

Modified: trunk/scratch/rcsutil/parse_rcs.py
==============================================================================
--- trunk/scratch/rcsutil/parse_rcs.py	(original)
+++ trunk/scratch/rcsutil/parse_rcs.py	Tue Jul 15 14:16:49 2008
@@ -756,13 +756,16 @@
                 statObj.ignoredByBranchCount += 1
                 continue
             # by branch & regexp
+            ignoreRev = False
             if branch in ignoredPartialBranches:
                 for pathRe in ignoredPartialBranches[branch]:
                     if re.search (pathRe, filePath):
                         self.debugPrint ("commit made to partial branch %s is ignored (%s) for file %s"%(branch, log['revision'], filePath))
                         statObj.ignoredByBranchCount += 1
-                        continue
-                    
+                        ignoreRev = True
+                        break
+            if ignoreRev:
+                continue
 
             # author
             if not log.has_key('author'):
@@ -796,6 +799,7 @@
 
             if added or removed:
                 statObj.add(author, date, self.ext, added, removed, branch, self.filepath)
+            self.debugPrint ("commit %s counted +%d -%d\n"%(log['revision'], added, removed));
 
         return True
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]