Re: svn error E720145 with svn cleanup --remove-unversioned

2019-11-28 Thread Branko Čibej
On 27.11.2019 11:24, LUGNIER, Cédric (CA-CIB) wrote:
>
> Hi,
>
>  
>
> We sometimes have the following error when we do use svn cleanup
> –remove-unversioned under Windows:
>
> svn: E720145: Can't remove directory
> 'C:\dev\Jenkins\workspace\qlib_full
> \Sources\x12ComInterface\_compilation\vc17_Release': The directory is
> not empty.
>

Check the contents of that directory. There may be things in there that
have a very long path name. Windows APIs have a fairly short path-length
limit.

I've seen this problem before when running Subversion tests on Windows
... my solution was to move the whole build tree to the root of the
drive (or use 'subst', sometimes that helps).

-- Brane


Re: svn error E720145 with svn cleanup --remove-unversioned

2019-11-28 Thread Daniel Shahaf
LUGNIER, Cédric (CA-CIB) wrote on Wed, 27 Nov 2019 10:24 +00:00:
> svn: E720145: Can't remove directory 
> 'C:\dev\Jenkins\workspace\qlib_full 
> \Sources\x12ComInterface\_compilation\vc17_Release': The directory is 
> not empty.
...
> As the folder is not empty, it means that a file couldn’t be removed. 
> You don’t return that file name, neither the error code.

I do agree that it'd be nice to include additional information in the
error message, but this error message is generated by a dependency
library, not by us.