String displayPath = myDiffGenerator.getDisplayPath(new File(dir .getRoot(), name));
String displayPath = dir.getFile(name).getAbsolutePath().replace(File.separatorChar, '/');
    public void deleteEntry(String path, long revision) throws SVNException {        SVNDirectory dir = myWCAccess.getDirectory(myCurrentDirectory.myPath);        String name = SVNPathUtil.tail(path);        SVNEntry entry = dir.getEntries().getEntry(name, true);        String displayPath = myDiffGenerator.getDisplayPath(new File(dir                .getRoot(), name));        if (entry != null && entry.isFile()) {            SVNProperties baseProps = dir.getBaseProperties(name, false);            SVNProperties wcProps = dir.getProperties(name, false);            String baseMimeType = baseProps                    .getPropertyValue(SVNProperty.MIME_TYPE);            String wcMimeType = wcProps.getPropertyValue(SVNProperty.MIME_TYPE);            if (myIsReverseDiff) {                // deleted                File baseFile = dir.getBaseFile(name, false);                String revStr = "(revision " + myTargetRevision + ")";                myDiffGenerator.displayFileDiff(displayPath, baseFile, null,                        revStr, null, baseMimeType, wcMimeType, myResult);            } else {                // added                File baseFile = dir.getBaseFile(name, false);                File emptyFile = null;                String revStr = "(revision " + entry.getRevision() + ")";                myDiffGenerator.displayFileDiff(displayPath, emptyFile,                        baseFile, "(revision 0)", revStr, wcMimeType,                        baseMimeType, myResult);            }        } else if (entry != null && entry.isDirectory()) {            SVNDirectoryInfo info = createDirInfo(myCurrentDirectory, path,                    true);            localDirectoryDiff(info, true, myResult);        }        myCurrentDirectory.myComparedEntries.add(name);    }