Date date = new Date(actualFile.lastModified()); getEntry().put(SVNProperty.TEXT_TIME, TimeUtil.formatDate(date));
if (!getRootEntry().isUseCommitTimes()) { Date date = new Date(actualFile.lastModified()); getEntry().put(SVNProperty.TEXT_TIME, TimeUtil.formatDate(date)); } else { String date = (String) getPropertyValue(SVNProperty.COMMITTED_DATE); getEntry().put(SVNProperty.TEXT_TIME, date); actualFile.setLastModified(TimeUtil.parseDate(date).getTime()); }
    public void commit() throws SVNException {        super.commit();                File actualFile = getRootEntry().getWorkingCopyFile(this);        File baseFile = getAdminArea().getBaseFile(this);        String checksum = null;        Map keywords = computeKeywords(true);        if (actualFile.exists()) {            String eolStyle = getPropertyValue(SVNProperty.EOL_STYLE);            if (!isBinary()) {// && ((isPropertyModified(SVNProperty.EOL_STYLE) && eolStyle != null) || isPropertyModified(SVNProperty.KEYWORDS))) {                File tmpFile = getRootEntry().createTemporaryFile(this);                FSUtil.copy(actualFile, tmpFile, eolStyle, computeKeywords(false), null);                FSUtil.copy(tmpFile, actualFile, null, keywords, null);                tmpFile.delete();            }            boolean storeAsIs = isBinary() || eolStyle == null;            if (SVNProperty.EOL_STYLE_NATIVE.equals(eolStyle)) {                eolStyle = SVNProperty.EOL_STYLE_LF;            }            checksum = FSUtil.copy(actualFile, baseFile, storeAsIs ? null : eolStyle, isBinary() ? null : computeKeywords(false), createDigest());            Date date = new Date(actualFile.lastModified());            getEntry().put(SVNProperty.TEXT_TIME, TimeUtil.formatDate(date));        } else {            baseFile.delete();            getEntry().remove(SVNProperty.TEXT_TIME);        }        if (checksum == null) {            getEntry().remove(SVNProperty.CHECKSUM);        } else {            getEntry().put(SVNProperty.CHECKSUM, checksum);        }    }