Note: you must use ctm version v04 or greater. The older versions will no longer work for processing svn deltas. You need to apply the patch-for-ctm to src/usr.sbin/ctm, and then do "make depend && make && make install". First Patch: Seems to work just fine. v02: The only difference with the first patch is better diagnostics. v03: Fixes bugs introduced in v02. v04: Made compatible with updated mkctm. Must be used from now on with svn deltas. v05: Minor cosmetic changes to verbose output for "SV" to be more in line with the other cases; and pass2 has no output for "TR" with low verbosity. v06: More cosmetic changes to output: "TR" no longer tries to print a null string; verbosity of zero results in no output. v07: Mild modification to error message if xz is not present: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/159665. v08: Similar mild modification to error message if svn is not present. v09: Add sentence to ctm.1 man page about the file .svn_revision. Note: These patches are NOT cumulative. They each apply to the original source code. You should only apply the newest patch. ------------------------------------------------------------------------------- To do: 1. Some of the options for CTM are non-operational when svn-ctm's are being applied. Currently these just quietly have no effect. But attempting these options should trigger an error message. 2. The error messages when popen fails in ctm_pass?.c should be changed to match the error messages in ctm.c, and use "warn." ------------------------------------------------------------------------------- Other patches: The patch for mkctm is so you can see how the new svn-ctm's are generated. To do: the temporary file in DoSvn should be created in the same directory as the log file. And mkCTM should be modified to delete any old temporary files. These files can get as big as 5GB, and could be too big for some file systems. mkctm-v02: Now used instead of mkctm patch for svn deltas. mkctm-v03: Quite an extensive rewrite so that it can handle more than one repository in a single directory. The -s option is depreciated (having been introduced in v02). mkctm-v04: Fixed bug so that mmap is never called with length equal to zero. mkctm-v05: Changed criterion for no change from "change < 2" to "change < 3" because of addition of .svn_revision to the deltas. The patch for ctm_smail has been in effect for some time, and was the result of one user complaining that his mail system mangled emailed CTM deltas whose line length was too long. The patch for ctm_rmail allows it to accept .xz as well as .gz files. This was provided by Klaus T. Aehlig .