[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: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-01-10 22:51:17 CET

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.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Jan 10 22:51:26 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.