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

Re: svn:keywords settings make file different?

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 13 Aug 2010 08:07:09 +0300

Ryan Schmidt wrote on Thu, Aug 12, 2010 at 22:00:25 -0500:
> On Aug 12, 2010, at 21:47, netvampire.tw wrote:
> > I knew I should set keywords properties on text file only.
> > I thought the properties would not apply to binary file so I apply the setting
> > on the root folder.
>
> Properties will be successfully applied to any file you tell Subversion to apply them to.

This isn't unreasonable, I think:

0:% $svn add iota2
A (bin) iota2
0:% $svn ps svn:keywords Id iota2
property 'svn:keywords' set on 'iota2'
0:% $svn pl -v iota2
Properties on 'iota2':
  svn:mime-type
    application/octet-stream
  svn:keywords
    Id

We might want to require a --force for such a propset to be allowed.

Thoughts?
Received on 2010-08-13 07:09:45 CEST

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.