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

Re: Auto-prop not working?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-04-22 19:58:57 CEST

On Apr 22, 2005, at 12:43 PM, Michael L Brown wrote:

>
> The question I have is why would Subversion apply keyword properties
> to binary files?  You would think that when it detects a binary file
> it would ignore a property keyword request, especially if it is an
> auto-prop.

Hm, fascinating.

As an experiment, I just went into a working copy containing a
binary-marked file. I tried to attach the svn:eol-style property, and
I got an error. Only by using 'propset --force' was I able to do this.

Then I tried to set the svn:keywords property on the same file, and I
got no complaint whatsoever.

On the one hand, one might argue that svn:keywords should behave the
same as svn:eol-style here, since both properties have the potential to
corrupt file data. But on the other hand, svn 1.2 now has "fixed
length" keywords that can be used safely within binary files, so
perhaps this behavior used to exist and was recently reverted...?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 22 20:01:48 2005

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.