You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2013/07/26 04:37:04 UTC

svn commit: r1507181 - /lucene/dev/branches/lucene5127/dev-tools/scripts/diffSources.py

Author: rmuir
Date: Fri Jul 26 02:37:04 2013
New Revision: 1507181

URL: http://svn.apache.org/r1507181
Log:
improve this to include meta-inf stuff, exclude eclipse stuff

Modified:
    lucene/dev/branches/lucene5127/dev-tools/scripts/diffSources.py

Modified: lucene/dev/branches/lucene5127/dev-tools/scripts/diffSources.py
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene5127/dev-tools/scripts/diffSources.py?rev=1507181&r1=1507180&r2=1507181&view=diff
==============================================================================
--- lucene/dev/branches/lucene5127/dev-tools/scripts/diffSources.py (original)
+++ lucene/dev/branches/lucene5127/dev-tools/scripts/diffSources.py Fri Jul 26 02:37:04 2013
@@ -50,7 +50,7 @@ while True:
   elif l.endswith('\n'):
     l = l[:-1]
   if l.startswith('diff ') or l.startswith('Binary files '):
-    keep = not l.endswith('timehints.txt') and l.lower().find('/build/') == -1 and (l.lower().startswith('Only in') or ((l.lower().endswith('.java') or l.lower().endswith('.txt') or l.lower().endswith('.xml') or l.lower().endswith('.iml')) and l.find('/.svn/') == -1))
+    keep = not l.endswith('timehints.txt') and l.lower().find('/build/') == -1 and l.lower().find('/eclipse-build/') == -1 and (l.lower().startswith('Only in') or ((l.lower().endswith('.java') or l.lower().endswith('.txt') or l.lower().endswith('.xml') or l.lower().endswith('.iml') or l.lower().find('/meta-inf/services/') != -1) and l.find('/.svn/') == -1))
     if keep:
       print
       print