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

Removing a directory gets stuck

From: Niemann, Hartmut <hartmut.niemann_at_siemens.com>
Date: Mon, 22 Feb 2016 13:26:41 +0000


I use TortoiseSVN (1.9.3) on Windows 7 and observe the effect that deleting (svn rm or move) a directory
about once in four attempts fails with something along "could not remove directory
because it was not empty".

I suspect that the virus scanner stands in the way, because when I look the directory is empty, and
a cleanup process almost always succeeds.

Can the directory removal be made more robust (like: if it fails and shouldn't, just wait a second and retry,
and *then* complain) or be de-interlaced from the database operation, removing the entry in the
working copy, closing the database and after that issuing the remove and rmdir commands on the
file system?

Mit freundlichen Grüßen
Dr. Hartmut Niemann

Siemens AG
Werner-von-Siemens-Str. 67
91052 Erlangen, Deutschland
Tel.: +49 9131 7-34264
Fax: +49 9131 7-26254

Siemens Aktiengesellschaft: Vorsitzender des Aufsichtsrats: Gerhard Cromme; Vorstand: Joe Kaeser, Vorsitzender; Roland Busch, Lisa Davis, Klaus Helmrich, Janina Kugel, Siegfried Russwurm, Ralf P. Thomas; Sitz der Gesellschaft: Berlin und München, Deutschland; Registergericht: Berlin Charlottenburg, HRB 12300, München, HRB 6684; WEEE-Reg.-Nr. DE 23691322
Received on 2016-02-22 14:27:00 CET

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