guard this check to only detect files (or convertRelative goes AIOOBE for .)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1506537 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2013-07-24 12:58:25 +00:00
parent bd1627fa3c
commit 312b648e60
1 changed files with 5 additions and 3 deletions

View File

@ -108,10 +108,12 @@
} else if (status.getKind() == SVNNodeKind.FILE && nodeStatus != SVNStatusType.STATUS_DELETED) {
missingProps.add(convertRelative(status.getFile()));
}
if (status.getKind() == SVNNodeKind.FILE) {
if (nodeStatus == SVNStatusType.STATUS_MODIFIED || nodeStatus == SVNStatusType.STATUS_REPLACED ||
nodeStatus == SVNStatusType.STATUS_DELETED || nodeStatus == SVNStatusType.STATUS_ADDED) {
changed.add(convertRelative(status.getFile()));
}
}
} as ISVNStatusHandler, null);
self.log('Filtering files with existing svn:eol-style...');