Description
if you rename a folder with svn mv original_foldername new_foldername then the .svn folder inside the 'new_foldername' folder looses (or better: never gets set) the hidden attribute in windows. This is a little inconsistent because usually those folders are hidden. comments from Ben: Ha, sure enough, look at the comment within svn_io_copy_dir_recursively(). (libsvn_subr/io.c:471) The function is just calling apr_dir_make() to create new directories in the target, whereas for files it's calling svn_io_copy_file(), which seems to have a special win32 section to preserve file perms (!) comments from Brane: Bork! 1) This functionality should go into APR, but in the meantime, fixing the directory creation on Windows should be simple. Could somebody please post a 1.0.1 issue with my name on it? 2) "svn mv" shouldn'd have to copy files around if it's only renaming a directory. It should just rename the dir and update the entries files. 3) We need a new libsvn_wc. 4) So what else is new...
Attachments
Issue Links
- duplicates
-
SVN-2249 svn_io_copy_dir_recursively should copy directory attributes.
- Open