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

Re: Applying missing or incorrect 'auto-props' in Subversion 1.7

From: Talden <talden_at_gmail.com>
Date: Fri, 14 Oct 2011 10:45:23 +1300

On Fri, Oct 14, 2011 at 10:28 AM, Stefan Sperling <stsp_at_elego.de> wrote:
> On Fri, Oct 14, 2011 at 10:15:04AM +1300, Talden wrote:
>> On Fri, Oct 14, 2011 at 7:35 AM, Ryan Schmidt
>> <subversion-2011a_at_ryandesign.com> wrote:
>> >
>> > On Oct 12, 2011, at 16:35, Talden wrote:
>> >
>> >> Is anyone aware of an alternative to svnprops.py (or an updated
>> >> version) that works with Subversion 1.7 (and on Windows)?
>> >
>> > svnprops.py doesn't work with 1.7? What happens?
>>
>> The version I have identifies svn controlled directories by looking
>> for .svn (rather than asking svn itself).
>>
>> I might rewrite it anyway - it's pretty slow. It calls propset for
>> each file rather than calling it once with a list of files matching
>> the auto-prop pattern.  It also calls out to svn rather than using the
>> bindings which I suspect would be quicker... I'll have a go at
>> installing those and reimplementing it, the experience might be useful
>> elsewhere.
>
> What script are you talking about? I cannot find a script called
> 'svnprops.py' anywhere within contrib/ or tools/.
>
> You are talking about applying auto-props, so maybe this script can help you?
> https://svn.apache.org/repos/asf/subversion/trunk/contrib/client-side/svn_apply_autoprops.py

That's a slightly different version of the same script I originally
found online as svnprops.py (quite some time ago). Notably my version
required help to find svn.exe (os.spawnvp on windows?)

I'll give this one a look over and try it out.

--
Talden
Received on 2011-10-13 23:45:57 CEST

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.