/[Apache-SVN]
ViewVC logotype

Revision 1617926


Jump to revision: Previous Next
Author: rhuijben
Date: Thu Aug 14 12:55:02 2014 UTC (9 years, 8 months ago)
Changed paths: 1
Log Message:
Resolve a 12 second delay on every 'svn' invocation from Windows system
services that don't have access to a writable user profile.
(Try running a svn script from the task scheduler on Windows 2012 R2)

Without this fix we retry creating the %APPDATA%\Subversion directory again
and again, and then continue silently.

The retry loop prevents erroring out from virusscanners and indexers that keep
file handles open, but this can't happen in the create directory case as we
would have waited in the delete preceding the create in relevant cases.

(Found while rebuilding the Windows buildbot last week)

* subversion/libsvn_subr/io.c
  (svn_io_make_dir_recursively,
   dir_make): Don't retry for 12 seconds when creating a directory fails,
    because we are using a directory with an ACL that denies creating
    directories.


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_subr/io.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26