if (myCurrentFile.myBaseFile.exists()) { break; }
    public void applyTextDelta(String baseChecksum) throws SVNException {        SVNDirectory dir = myWCAccess.getDirectory(myCurrentDirectory.myPath);        String fileName = PathUtil.tail(myCurrentFile.myPath);        if (dir != null) {            SVNEntry entry = dir.getEntries().getEntry(fileName);            if (entry != null && entry.getCopyFromURL() != null) {                myCurrentFile.myIsAdded = false;            }            if (entry != null && entry.isScheduledForDeletion()) {                myCurrentFile.myIsScheduledForDeletion = true;            }        }        File tmpFile = null;        if (!myCurrentFile.myIsAdded) {            tmpFile = dir.getBaseFile(fileName, true);            myCurrentFile.myBaseFile = dir.getBaseFile(fileName, false);        } else {            // iterate till existing dir and get tmp file in it.            SVNDirectoryInfo info = myCurrentDirectory.myParent;            while(info != null) {                SVNDirectory parentDir = myWCAccess.getDirectory(info.myPath);                if (parentDir != null) {                    tmpFile = SVNFileUtil.createUniqueFile(parentDir.getFile(".svn/tmp/text-base", false), fileName, ".tmp");                    myCurrentFile.myBaseFile = parentDir.getFile(".svn/empty-file", false);                }                info = info.myParent;            }        }        if (tmpFile != null) {            tmpFile.deleteOnExit();        }        // it will be repos file.        myCurrentFile.myFile = tmpFile;        // create empty file        try {            myCurrentFile.myFile.createNewFile();        } catch (IOException e) {            SVNErrorManager.error(0, e);        }        myCurrentFile.myDiffWindows = new ArrayList();        myCurrentFile.myDataFiles = new ArrayList();    }