public void closeFile(String textChecksum) throws SVNException {
public void closeFile(String commitPath, String textChecksum) throws SVNException {
    public void closeFile(String textChecksum) throws SVNException {        String reposMimeType = (String) (myCurrentFile.myPropertyDiff != null ? myCurrentFile.myPropertyDiff.get(SVNProperty.MIME_TYPE) : null);        String fileName = PathUtil.tail(myCurrentFile.myPath);        SVNDirectory dir = myWCAccess.getDirectory(myCurrentDirectory.myPath);        if (reposMimeType == null) {            if (myCurrentFile.myBaseProperties == null) {                myCurrentFile.myBaseProperties = dir != null ? dir.getBaseProperties(fileName, false).asMap() : new HashMap();              }            reposMimeType = (String) myCurrentFile.myBaseProperties.get(SVNProperty.MIME_TYPE);        }        SVNEntry entry = null;        if (dir != null) {            entry = dir.getEntries().getEntry(fileName, true);        }        String displayPath = myDiffGenerator.getDisplayPath(new File(myWCAccess.getAnchor().getRoot(), myCurrentFile.myPath));        if (myCurrentFile.myIsAdded) {            if (myIsReverseDiff) {                // empty->repos                String revStr = entry != null ? "(revision " + entry.getRevision() + ")" : null;                myDiffGenerator.displayFileDiff(displayPath,                         myCurrentFile.myBaseFile,                        myCurrentFile.myFile,                        "(revision 0)", revStr,                                null, reposMimeType, myResult);            } else {                // repos->empty                String revStr = "(revision " + myTargetRevision + ")";                myDiffGenerator.displayFileDiff(displayPath,                         myCurrentFile.myFile,                        null,                        revStr, null,                        reposMimeType, null, myResult);                // TODO display prop diff.            }        } else {            if (myCurrentFile.myFile != null) {                String wcMimeType = dir.getProperties(fileName, false).getPropertyValue(SVNProperty.MIME_TYPE);                if (!myIsCompareToBase && myCurrentFile.myIsScheduledForDeletion) {                    myCurrentFile.myBaseFile = dir.getFile(".svn/empty-file", false);                } else if (!myIsCompareToBase) {                    File wcTmpFile = SVNFileUtil.createUniqueFile(myCurrentFile.myFile.getParentFile(), fileName, ".tmp");                    String path = SVNFileUtil.getBasePath(wcTmpFile);                    SVNTranslator.translate(dir, fileName, fileName, path, true, false);                    myCurrentFile.myBaseFile = wcTmpFile;                }                String revStr = "(revision " + myTargetRevision + ")";                if (myIsReverseDiff) {                    myDiffGenerator.displayFileDiff(displayPath, myCurrentFile.myBaseFile, myCurrentFile.myFile,                            null, revStr, wcMimeType, reposMimeType, myResult);                } else {                    myDiffGenerator.displayFileDiff(displayPath, myCurrentFile.myFile, myCurrentFile.myBaseFile,                            revStr, null, reposMimeType, wcMimeType, myResult);                }                if (myCurrentFile.myBaseFile != null && !myCurrentFile.myIsScheduledForDeletion &&                        !myIsCompareToBase && !fileName.equals(SVNFileUtil.getBasePath(myCurrentFile.myBaseFile))) {                    myCurrentFile.myBaseFile.delete();                }                myCurrentFile.myFile.delete();            }            if (myCurrentFile.myPropertyDiff != null && !myCurrentFile.myPropertyDiff.isEmpty()) {                Map base = myCurrentFile.myBaseProperties;                Map diff = myCurrentFile.myPropertyDiff;                if (!myIsReverseDiff) {                    reversePropChanges(base, diff);                }                myDiffGenerator.displayPropDiff(displayPath, base, diff, myResult);            }        }    }