subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Strapetz <marc.strap...@syntevo.com>
Subject 1.9: javahl.ISVNClient#cleanup(String) always fails with "Attempted to lock an already-locked dir"
Date Thu, 23 Apr 2015 14:44:26 GMT
cleanup-related code which is working fine with 1.8 JavaHL starts 
failing with 1.9 JavaHL.

According to the docs, ISVNClient#cleanup(String) does not break locks, 
which seems to cause the problems:

   /**
    * Recursively cleans up a local directory, finishing any
    * incomplete operations, removing lockfiles, etc.
    * <p>
    * Behaves like the 1.9 version with <code>breakLocks</code> and
    * <code>includeExternals</code> set to <code>false<code>, and
the
    * other flags to <code>true</code>.
    * @param path a local directory.
    * @throws ClientException
    */

When using ISVNClient.cleanup(path, *true*, true, true, true, false) 
code works.

-Marc

Mime
View raw message