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

Re: dot, dot-dot and apr_dir_read

From: Vladimir Berezniker <vmpn_at_hitechman.com>
Date: 2004-02-17 23:44:41 CET

<quote who="Ben Collins-Sussman">
> On Tue, 2004-02-17 at 09:22, kfogel@collab.net wrote:
>
>> Is there any way of invoking hotcopy so that it doesn't stimulate this
>> problem (i.e., can we document a workaround)? If not, is there some
>> other non-klugey backup method we can offer people on ext3/2.6?
>
> Well, an obvious workaround is to just perform the hotcopy algorithm by
> hand: 'cp -R' the whole repository, then recopy just the logfiles, then
> run recovery on the repos copy.
>
>> Obviously, we can fix this internally in 1.0.1, I'm just concerned
>> about 1.0.0...
>
> Yeah, can someone submit a real patch for 'svnadmin copy'? I'd love to
> get this into 1.0.1.
>
>
>
I can create a patch for svn_io_dir_walk that will first stat the directory it
been passed. Then call the walk function, before reading directory entries. Then
 while reading directory entries skip the "." in addition to "..". Effectively
promoting directory itself to be the first on the list.

I will try to make the patch as soon as I get home...

Sincerely,
Vladimir Berezniker

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Feb 18 18:41:06 2004

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