[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: small bug: svn mv looses the hidden attribute

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-02-10 20:51:01 CET

On Tue, 2004-02-10 at 13:25, SteveKing wrote:
> 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.

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 (!)

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 10 20:55:24 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.