Subversion Keyword Substitution
Those of you who have previously used CVS
may be accustomed to inserting revision information into CVS
checkins using keywords such as
. Subversion offers a similar facility, but requires setting an svn property on the file first to tell it you want keyword substitution to be done. Details are in the Keyword Substitution section
of Version Control with Subversion
If you're working with LaTeX
documents, you may be interested in the svn
macro packages, which can take Subversion keyword substitutions and reformat them into LaTeX
dates, headers, and footers.
, Subversion will quite happily do keyword substitution on binary files if you set the svn:keywords property on those files. This will almost certainly corrupt the file. Avoid setting this property on binaries, particularly ones that are likely to contain text strings, such as tar archives and ZIP files.
Topic revision: r1 - 2010-01-19 - 18:48:17 - brodbd