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

Re: Subversion config file not used

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-01-11 07:36:53 CET

On 1/10/07, Andy Levy <andy.levy@gmail.com> wrote:
> On 1/10/07, Trahan, Ted <edward.trahan@medtronic.com> wrote:
> > I have auto-props enabled in C:\Documents and
> > Settings\<userid>\Application Data\Subversion\config.
> >
> > I have svn:needs-lock set for a number of binary file types (*.doc,
> > *.xls) in the [auto-props] section.
> >
> > However, after committing binary files of these types to the Subversion
> > repository, the files are
> > not marked as read-only in my working copy.
> >
> > Also, the files don't require a lock to commit new changes to the
> > repository.
> >
> > The config file was edited from the TSVN config edit dialog. It is shown
> > below.
> >
> > How do I get TSVN to pick up or load the config parameters?
>
> Auto-props are only applied to files when they are added to the
> repository - they aren't "retroactive." So, if these files existed in
> the repository before you set up your config file this way, that's the
> issue.
>
> There is a Python script, svn_apply_autoprops.py (Google for it),
> which when pointed at a working copy will read your config file and
> apply the properties set in auto-props. HOWEVER, it will also
> overwrite existing properties, so you have to be careful.

And apart from that, you must also enable the
enable-auto-props = yes
in the [miscellany] section of the config file.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Jan 11 07:37:05 2007

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.