You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2010/06/25 13:14:22 UTC

svn commit: r957890 - /subversion/trunk/subversion/tests/libsvn_fs_fs/fs-pack-test.c

Author: rhuijben
Date: Fri Jun 25 11:14:21 2010
New Revision: 957890

URL: http://svn.apache.org/viewvc?rev=957890&view=rev
Log:
* subversion/tests/libsvn_fs_fs/fs-pack-test.c
  (write_format): Remove no longer needed Win32 special code.
    svn_io_file_rename will handle this for us.

Modified:
    subversion/trunk/subversion/tests/libsvn_fs_fs/fs-pack-test.c

Modified: subversion/trunk/subversion/tests/libsvn_fs_fs/fs-pack-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_fs_fs/fs-pack-test.c?rev=957890&r1=957889&r2=957890&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_fs_fs/fs-pack-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_fs_fs/fs-pack-test.c Fri Jun 25 11:14:21 2010
@@ -80,12 +80,6 @@ write_format(const char *path,
                                   contents, strlen(contents),
                                   svn_io_file_del_none, pool));
 
-#ifdef WIN32
-      /* make the destination writable, but only on Windows, because
-         Windows does not let us replace read-only files. */
-      SVN_ERR(svn_io_set_file_read_write(path, TRUE, pool));
-#endif /* WIN32 */
-
       /* rename the temp file as the real destination */
       SVN_ERR(svn_io_file_rename(path_tmp, path, pool));
     }