lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r1506260 - /lucene/dev/trunk/dev-tools/scripts/diffSources.py
Date Tue, 23 Jul 2013 20:28:35 GMT
Author: mikemccand
Date: Tue Jul 23 20:28:34 2013
New Revision: 1506260

URL: http://svn.apache.org/r1506260
Log:
ignore timehints.txt when diffing sources

Modified:
    lucene/dev/trunk/dev-tools/scripts/diffSources.py

Modified: lucene/dev/trunk/dev-tools/scripts/diffSources.py
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/scripts/diffSources.py?rev=1506260&r1=1506259&r2=1506260&view=diff
==============================================================================
--- lucene/dev/trunk/dev-tools/scripts/diffSources.py (original)
+++ lucene/dev/trunk/dev-tools/scripts/diffSources.py Tue Jul 23 20:28:34 2013
@@ -50,7 +50,7 @@ while True:
   elif l.endswith('\n'):
     l = l[:-1]
   if l.startswith('diff ') or l.startswith('Binary files '):
-    keep = 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().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))
     if keep:
       print
       print



Mime
View raw message