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

Re: mark .svn folders to not get indexed

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Mon, 07 Feb 2011 10:28:44 -0500

On 02/06/2011 09:27 AM, Stefan Küng wrote:
> On 06.02.2011 11:43, Bert Huijben wrote:
>
>> Note that this patch is not really what you want: It doesn't handle UTF-8,
>> nor long path names (which apr's version would do for us). We need to
>> support both when we don't want to introduce a regression.
>>
>> In 1.7 we usually only have one .svn directory per workingcopy so there
>> won't be any performance difference on our operations.
>
> Attached is a patch that would address the issue. I implemented it in
> make_dir when the 'hidden' attribute is set: I just set the 'no index'
> attribute as well.

This patch bears a striking resemblance to similar code in mod_wsgi:
http://code.google.com/p/modwsgi/source/browse/trunk/mod_wsgi/wsgi_apache.c?spec=svn1755&r=1755#72

Is there at least some attribution that needs to happen if we add it to our
codebase?

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2011-02-07 16:29:32 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.