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

Re: SVN:Keywords applies to application/octet-stream

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 26 Apr 2013 17:07:01 +0200

On 26.04.2013 16:52, Carl Pettit wrote:
> Hi Everyone,
>
> It used to work but now it is dangerously flawed. Applying
> SVN:Keywords to a directory used to apply keywords to files
> determined to contain text and ignored application/octet-stream i.e.
> executables. I had a colleague accost me complaining that his code no
> longer ran after a commit. On investigation it was discovered that
> the SVN:Keywords property had been applied to the executable. Is this
> a bug of have I got a setting wrong somewhere?

if you tell svn to substitute keywords, then that's what it does: you've
asked for it.

It's always been this way.

http://svnbook.red-bean.com/en/1.7/svn.advanced.props.special.keywords.html

quote:
Of course, where binary file formats are concerned, you must always take
great care that any keyword substitution you introduce—fixed-length or
otherwise—does not violate the integrity of that format. While it might
sound easy enough, this can be an astonishingly difficult task for most
of the popular binary file formats in use today, and not something to be
undertaken by the faint of heart!

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3054398
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-04-26 17:07:14 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.