AW: Problem with binary files which containing the revision number.
From: Merkle Andreas <Andreas.Merkle_at_newtec.de>
Date: Wed, 8 Dec 2010 15:37:23 +0100
That's a workaround for the binary files, which contains the keywords as plain text. Ok.
Anyway thanks for the idea.
> If the text you type into the document will appear in the binary file in plain text (as it seems to in Word files for example), then you can use Subversion keywords as you would in any text file. Subversion has fixed-width versions of its keywords that you would use in this case, to ensure that expanding the keyword won't corrupt the file. So just type "$Rev:: $" or "$Id:: $" in your document, and set svn:keywords on that document to that key. Make sure you use double colons after the keyword name so that you get the fixed-width versions, otherwise you will corrupt the file.
See:
http://svnbook.red-bean.com/nightly/en/svn.advanced.props.special.keywords.html
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.