notificationHandler.setCommand(ISVNNotifyListener.Command.STATUS); String filePathSVN = fileToSVNPath(path, false); notificationHandler.logCommandLine("status " + (contactServer?"-u ":"")+ filePathSVN); notificationHandler.setBaseDir(SVNBaseDir.getBaseDir(path)); try { Status[] statuses = svnClient.status( filePathSVN, descend, contactServer, getAll,getAll); if (statuses.length == 0) return new ISVNStatus[] {new SVNStatusUnversioned(path)}; else return JhlConverter.convert(statuses); } catch (ClientException e) { if (e.getAprError() == SVN_ERR_WC_NOT_DIRECTORY) {  return new ISVNStatus[] {new SVNStatusUnversioned(path)}; } else { notificationHandler.logException(e); throw new SVNClientException(e); } }
ISVNStatus[] statuses = super.getStatus(path, descend, getAll, contactServer);   if (statuses.length == 0) { if (getAll) {  return new ISVNStatus[] { new SVNStatusUnversioned(path) }; } else {  ISVNStatus[] reCheckStatuses = getStatus(path, false, true, contactServer); if (reCheckStatuses.length == 0) {  return new ISVNStatus[] { new SVNStatusUnversioned(path) }; } else {  return new ISVNStatus[0]; } } } else { return statuses; }
    public ISVNStatus[] getStatus(File path, boolean descend, boolean getAll, boolean contactServer) throws SVNClientException {		notificationHandler.setCommand(ISVNNotifyListener.Command.STATUS);		String filePathSVN = fileToSVNPath(path, false);		notificationHandler.logCommandLine("status " + (contactServer?"-u ":"")+ filePathSVN);		notificationHandler.setBaseDir(SVNBaseDir.getBaseDir(path));		try {			Status[] statuses =                 svnClient.status(                        filePathSVN,                          descend,            // If descend is true, recurse fully, else do only immediate children.                        contactServer,      // If update is set, contact the repository and augment the status structures with information about out-of-dateness         					getAll,getAll);    // retrieve all entries; otherwise, retrieve only "interesting" entries (local mods and/or out-of-date).			if (statuses.length == 0)				return new ISVNStatus[] {new SVNStatusUnversioned(path)};			else			return JhlConverter.convert(statuses);		} catch (ClientException e) {			if (e.getAprError() == SVN_ERR_WC_NOT_DIRECTORY) {				// when there is no .svn dir, an exception is thrown ...				return new ISVNStatus[] {new SVNStatusUnversioned(path)};			} else {				notificationHandler.logException(e);				throw new SVNClientException(e);			}		}    }