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

Re: Tool to update file props based on auto-props

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-09-19 14:22:29 CEST

On 9/19/07, Ryan Schmidt <subversion-2007b@ryandesign.com> wrote:
> On Sep 14, 2007, at 14:33, Andy Levy wrote:
>
> > On 9/14/07, Jason Winnebeck wrote:
> >
> >> Jason Winnebeck wrote:
> >>
> >>> I'd like to have a tool that can help manage autoprops
> >>
> >> Seriously, I looked for an hour and immediately after sending the
> >> mail I
> >> found the svn_apply_autoprops script at
> >> http://svn.collab.net/viewvc/svn/trunk/contrib/client-side/
> >> svn_apply_aut
> >> oprops.py?view=markup
> >>
> >> I could probably use this as a base for how I want it to work.
> >> Looking
> >> at its documentation it doesn't seem to do exactly what I want, it
> >> just
> >> blindly applies propset for any properties. However, it does do it
> >> on a
> >> WC, so I can preview the operations before committing, in case there
> >> were any manual overrides.
> >
> > svn_apply_autoprops does OK, but there are a couple thigns to be
> > aware of:
> >
> > 1) It'll erase any existing props on files. So, if you have props that
> > don't match your auto-props, and you like them...ouch.
> > 2) It doesn't like filenames with spaces in them. I tried, a long time
> > ago, to tweak it to work better with this but didn't get too far.
> >
> > I'm not sure if what's in the official SVN repository represents the
> > current latest & greatest state of the script.
>
> Someone rewrote that script a couple years ago; maybe this version is
> better?
>
> http://matt-good.net/2005/12/23/new-and-improved-svn-apply-autoprops-
> py-now-with-more-svk/

Been quite a while but I think I used his version and may have even
swapped some emails with him in the course of getting the script
working on Win32 (out of the virtual box, it had some trouble finding
hte Python binary or something).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 19 14:22:54 2007

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.