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

Re: Missing Auto Properties or Meta Data

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2006-07-22 20:17:39 CEST

On 7/22/06, Res Pons <pons32@hotmail.com> wrote:
> Also is there a bug reported in Subversion where folks lose their auto
> properties? Is there a script where I can set a cronjob to run nightly to
> check for files missing their meta data and the script auto matically
> generates them?

Check out svn_apply_autoprops.py. You'll need to either tweak it to
point it at a specific svn config file w/ the right auto-props, or run
it under a user account that has one.
http://svn.haxx.se/users/archive-2005-12/1009.shtml

Basically it just runs through the whole WC and applies whatever
autoprops you have to every file in the WC. Those that already had
the properties set don't appear any different to svn, so you shouldn't
end up with a massive commit.

I run this script manually on my WC to cover any properties that we
don't have due to developer setups missing the auto-props I set up for
myself.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jul 22 20:18:52 2006

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