Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-4575

Wrong default for 1.8-compatilble wrapper of ISVNClient#cleanup(String)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.9.x
    • 1.9.0
    • bindings_javahl
    • None

    Description

      Reported by Marc Strapetz on dev@:
      
      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.
      

      Attachments

        Activity

          People

            brane Branko Čibej
            brane Branko Čibej
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: