private void writeRevisionRecord(OutputStream dumpStream, FSFS fsfs, long revision) throws SVNException, IOException {
Map revProps = fsfs.getRevisionProperties(revision);
String revisionDate = (String) revProps.get(SVNRevisionProperty.DATE);
if (revisionDate != null) {
SVNDate date = SVNDate.parseDatestamp(revisionDate);
revProps.put(SVNRevisionProperty.DATE, date.format());
}
ByteArrayOutputStream encodedProps = new ByteArrayOutputStream();
SVNAdminHelper.writeProperties(revProps, null, encodedProps);