[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: how to add $Id$ automatically

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-11-19 16:13:01 CET

On Nov 19, 2007 10:09 AM, Soo-Hyun Choi <s.choi@hackers.org.uk> wrote:
> > BTW, be very careful with what you've done there. You've told your
> > client to apply those keywords to *all* files. If you have binary
> > files (MS Word, images, executables, etc.) you may unwittingly corrupt
> > them by enabling keywords on them.
> >
>
>
> Ah! What do you mean by corrupting those files unwittingly with that option?
> Does this mean that if I set the option as the above and add some MS Word
> (or executable) files to SVN repository, then it will corrupt the files?

If your binary file contains that combination of characters ($Id$),
then the SVN client will expand it. You're basically modifying the
file from what Word expects, which could have bad consequences. In an
executable or image, it could corrupt the file completely.

Read http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html
in its entirety before considering adding keywords globally.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 19 16:13:27 2007

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.