You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2013/07/23 22:28:51 UTC
svn commit: r1506261 - in /lucene/dev/branches/branch_4x: ./ dev-tools/
dev-tools/scripts/diffSources.py
Author: mikemccand
Date: Tue Jul 23 20:28:51 2013
New Revision: 1506261
URL: http://svn.apache.org/r1506261
Log:
ignore timehints.txt when diffing sources
Modified:
lucene/dev/branches/branch_4x/ (props changed)
lucene/dev/branches/branch_4x/dev-tools/ (props changed)
lucene/dev/branches/branch_4x/dev-tools/scripts/diffSources.py
Modified: lucene/dev/branches/branch_4x/dev-tools/scripts/diffSources.py
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/dev-tools/scripts/diffSources.py?rev=1506261&r1=1506260&r2=1506261&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/dev-tools/scripts/diffSources.py (original)
+++ lucene/dev/branches/branch_4x/dev-tools/scripts/diffSources.py Tue Jul 23 20:28:51 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