On 01.08.2014 15:05, Andy Levy wrote:
> On Fri, Aug 1, 2014 at 8:05 AM, Marc MENDEZ <mme.web100t_at_gmail.com> wrote:
>> I upgraded to the latest version of TortoiseSVN.
>> I made this test one installed :
>> - in a directory known of SVN, I add a new file
>> - I commit the file
>> The file is not write protected and the keywords are not changed :(
>> Here the config file I use :
>> ### Section for configuring automatic properties.
>> *.dpr =
>> *.dproj =
>> *.res =
>> *.RES =
>> *.tlb =
>> * = svn:needs-lock;svn:keywords=Id Revision Author Date
>> There is nothing else in my config file.
> If there's literally nothing else in your config file, then auto-props
> still won't work because you're missing this (from the default config
> ### Set enable-auto-props to 'yes' to enable automatic properties
> ### for 'svn add' and 'svn import', it defaults to 'no'.
> ### Automatic properties are defined in the section 'auto-props'.
> enable-auto-props = yes
And of course, you might want to try
*.* = svn:needs-lock;...
instead of just
* = svn:needs-lock
Also, make sure to back up all your files NOW. Because with that setting
you will corrupt your non-text data pretty soon:
You're telling svn to expand keywords in ALL files, even binary ones.
And the chance that a binary file contains the three bytes "$id"
somewhere is pretty good. So good luck opening up that bin file when the
id keyword got expanded.
My advice: do NOT set the svn:keywords property on all files but only on
specific file types where you really need the keywords expanded. And
leave all other files without the keyword set.
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest interface to (Sub)version control
/_/ \_\ http://tortoisesvn.net
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-08-01 17:36:05 CEST