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

Re: svn st -u: Can't read directory ''

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2004-03-15 02:54:56 CET

Vincent Lefevre <vincent+svn@vinc17.org> writes:

> On 2004-03-13 02:31:24 +0000, Philip Martin wrote:
>> Vincent Lefevre <vincent+svn@vinc17.org> writes:
>> > greux:~/oldtests> svn st -u
>> > svn: Can't read directory '': Partial results are valid but
>> > processing is incomplete
>>
>> That's an APR_INCOMPLETE, but I don't why you would get it.
>
> What does this mean?

It's an error code returned by apr_dir_read. Taking another look at
the code, I think I see how this could occur: if your APR is compiled
without DIRENT_TYPE then an apr_dir_read call will involve both a
readir and a stat and if the stat fails apr_dir_read will return
APR_INCOMPLETE. Why would the stat fail on one single occasion? One
explanation would be if another process deleted a file/directory while
the "svn st" was running, some sort of temporary file perhaps?

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 15 02:55:11 2004

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.