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

Re: Applying auto-props to existing files

From: Andy Levy <andy.levy_at_gmail.com>
Date: Thu, 20 Nov 2008 08:35:04 -0500

On Thu, Nov 20, 2008 at 02:53, Adrian Shum <tcshum_at_taifook.com> wrote:

> I wanna know if there are any way to apply auto-props to existing files?
>
> There are some developers in our organization haven't update their svn
> settings,
> hence, no properties are set for files added by them.
>
> It is impossible for us to find one by one for such file and do manual
> changes,
> because our repository is growing quite large now.

svn_apply_autoprops.py is what you want (it's in the contrib portion
of SVN repository, but I don't know if that's the most up to date
version). Last time I used it, it would remove any properties which
did not conform to your auto-props settings, so if you have "custom"
properties on a few files they will be overridden by the auto-props
setting.

You'll have to check out a WC, run the script, then commit the changes.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-20 14:35:25 CET

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.