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

Re: Properties not herited from parent directory

From: Marc MENDEZ <mme.web100t_at_gmail.com>
Date: Mon, 4 Aug 2014 08:23:36 +0200

Hi,

Thanks for your remark. But, files saved in SVN and only text files
(source). No binary at all.

2014-08-01 17:35 GMT+02:00 Stefan Küng <tortoisesvn_at_gmail.com>:

> 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:
> >> Hi,
> >>
> >> 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.
> >> [auto-props]
> >> *.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
> > file):
> >
> > ### 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.
>
> 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=3086101
>
> To unsubscribe from this discussion, e-mail: [
> users-unsubscribe_at_tortoisesvn.tigris.org].
>

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3086175

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-08-04 13:54:43 CEST

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