On Windows don't retry a failed rename on every possible failure, but only for access denied.
On Windows don't retry a failed rename on every possible failure, but
only for access denied.

On the AnkhSVN error list we currently receive quite a few
    "Can't move '<PATH>\.svn\tmp\entries' to '<PATH>\.svn\entries':
        The system cannot find the file specified."
errors for Subversion 1.6.6 users who are updating their working copy.
The old code obscured the initial status code for this code path,
which makes it hard to determine the root cause. (The root cause is
most likely outside Subversion as we didn't see this error until early
November 2009)

* subversion/libsvn_subr/io.c
  (svn_io_file_rename): Only try setting writable if we are trying to
    resolve an access denied error. Then retry the move on further
    access denied errors.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@896915 13f79535-47bb-0310-9956-ffa450edef68

wbond/subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion