Hi you can use following method to get the list of modified and unversioned files
public List<SVNStatus> getCommitableFiles(File path, String revision) throws SVNException {
SVNClientManager svnClientManager = SVNClientManager.newInstance();
final List<SVNStatus> allSVNStatus = new ArrayList<SVNStatus>();
svnClientManager.getStatusClient().doStatus(path, SVNRevision.parse(revision), SVNDepth.INFINITY, false, false, false, false, new ISVNStatusHandler() {
public void handleStatus(SVNStatus status) throws SVNException {
SVNStatusType statusType = status.getContentsStatus();
if (statusType != SVNStatusType.STATUS_NONE && statusType != SVNStatusType.STATUS_NORMAL
&& statusType != SVNStatusType.STATUS_IGNORED) {
allSVNStatus.add(status);
}
}
}, null);
return allSVNStatus;
}