Hello Joey,

Thank you for your reply.

On Mon 01 Apr 2019 at 11:28AM -04, Joey Hess wrote:

> I'd certianly like to use removePathForcibly -- after all it was added
> in response to a bug report I filed about this very kind of problem.
>
> But, the first version of ghc to include it was 8.4.2, which is newer
> than the 8.0 minimum I think git-annex supports now, and also newer than
> what's in Debian stable. So it would need to be
> #if MIN_VERSION_directory(1,2,7)

Okay, fair enough, it makes sense for this hotfix for the Debian buster
release not to make it upstream.

> It also seems very unlikely that something would wait around for 10
> seconds while git-annex is delaying to let any processes that might be
> running finish their cleanup, and then run at exactly the same time as
> the removeDirectoryRecursive. Since the earlier removeDirectoryRecursive
> failed on the same file, I have the feeling the problem is not actually
> with the file vanishing out from under it, but something else to do with
> it being a socket..

Yes, this line of thought occurred to me as well.

> It seems to me that removePathForcibly would probably at best ignore
> the error in removal and so leave a .t directory hanging around at the
> end?

I just tested this -- `dgit build && ls .t` -- and it does not leave it
hanging around.

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature

Reply via email to